Thomas Friedrich created HIVE-9274:
--------------------------------------

             Summary: STORED BY not setting input and output formats correctly
                 Key: HIVE-9274
                 URL: https://issues.apache.org/jira/browse/HIVE-9274
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.14.0
            Reporter: Thomas Friedrich


When creating a new table using a storage handler via the STORED BY clause, for 
example using the HBaseStorageHandler, the input and output formats are set to 
null instead of the correct formats:

CREATE TABLE hbase_table_1(key int, value string) 
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val")
TBLPROPERTIES ("hbase.table.name" = "xyz");

describe formatted hbase_table_1:
# Storage Information
SerDe Library:          org.apache.hadoop.hive.hbase.HBaseSerDe
InputFormat:            null
OutputFormat:           null

In older Hive versions, it would set the correct formats.

Could it be related to the changes in HIVE-5976?





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to