Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24418

there is an error "java.lang.IllegalArgumentException: No columns to insert" when the result data is empty

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: HBase Handler
    • Labels:
      None

      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

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zhouhuiyu HuiyuZhou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: