hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12245) Support column comments for an HBase backed table
Date Sat, 24 Oct 2015 16:42:27 GMT

     [ https://issues.apache.org/jira/browse/HIVE-12245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chaoyu Tang updated HIVE-12245:
-------------------------------
    Attachment: HIVE-12245.patch

> 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
>         Attachments: HIVE-12245.patch
>
>
> 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)

Mime
View raw message