You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2017/12/18 18:54:00 UTC

[jira] [Updated] (HIVE-12245) Support column comments for an HBase backed table

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

Thejas M Nair updated HIVE-12245:
---------------------------------
    Fix Version/s: 2.0.0
                   1.3.0

Fix version was missing for this one, setting it.



> 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
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-12245.1.patch, HIVE-12245.patch, 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.4.14#64029)