[
https://issues.apache.org/jira/browse/HIVE-24418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
HuiyuZhou updated HIVE-24418:
-----------------------------
Description:
i created the external hive table to link hbase, when i use hsql to insert data
into hbase,there is an error "java.lang.IllegalArgumentException: No columns to
insert", i search for the reason and found hbase client does not allow all
empty column except rowkey to insert hbase.
please following the link for hbase validatePut funtion.
[https://stackoverflow.com/questions/56073332/why-hbase-client-put-object-expecting-at-least-a-column-to-be-added-before-subm]
i want to find any configuration to skip the error for my hsql, it seems there
is no configuration for it.
[https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HBaseStorageHandler]
was:
i created the external hive table to link hbase, when i use hsql to insert data
into hbase,there is an error "java.lang.IllegalArgumentException: No columns to
insert", i search for the reason and found hbase client does not allow all
empty column except rowkey to insert hbase.
i also try to use "set hyperbase.fill.null.enable=true" to skip the error for
my hsql, but it doest't work, how to avoid the error?
is it a bug for this?
> there is an error "java.lang.IllegalArgumentException: No columns to insert"
> when the result data is empty
> ----------------------------------------------------------------------------------------------------------
>
> Key: HIVE-24418
> URL: https://issues.apache.org/jira/browse/HIVE-24418
> Project: Hive
> Issue Type: Bug
> Components: HBase Handler
> Affects Versions: 1.1.0
> Reporter: HuiyuZhou
> Priority: Major
>
> i created the external hive table to link hbase, when i use hsql to insert
> data into hbase,there is an error "java.lang.IllegalArgumentException: No
> columns to insert", i search for the reason and found hbase client does not
> allow all empty column except rowkey to insert hbase.
> please following the link for hbase validatePut funtion.
> [https://stackoverflow.com/questions/56073332/why-hbase-client-put-object-expecting-at-least-a-column-to-be-added-before-subm]
>
> i want to find any configuration to skip the error for my hsql, it seems
> there is no configuration for it.
> [https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HBaseStorageHandler]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)