You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "HuiyuZhou (Jira)" <ji...@apache.org> on 2020/11/24 09:11:00 UTC

[jira] [Updated] (HIVE-24418) there is an error "java.lang.IllegalArgumentException: No columns to insert" when the result data is empty

     [ 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.

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?

  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 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.1
>            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.
> 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)