Chaoyu Tang created HIVE-12245:
----------------------------------

             Summary: Support column comments for an HBase backed table
                 Key: HIVE-12245
                 URL: https://issues.apache.org/jira/browse/HIVE-12245
             Project: Hive
          Issue Type: Improvement
          Components: HBase Handler
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang
            Priority: Minor


Currently the column comments of an HBase backed table are always returned as 
"from deserializer". For example,
{code}
CREATE TABLE hbasetbl 
(key string comment 'It is key', 
state string comment 'It is state', 
country string comment 'It is country', 
country_id int comment 'It is country_id')
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES (
"hbase.columns.mapping" = "info:state,info:country,info:country_id"
);
hive> describe hbasetbl;
key                     string                  from deserializer   
state                   string                  from deserializer   
country                 string                  from deserializer   
country_id              int                     from deserializer  
{code}



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

Reply via email to