You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2015/10/24 18:51:27 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14972702#comment-14972702 ]
Chaoyu Tang commented on HIVE-12245:
------------------------------------
Patch has been posted on RB https://reviews.apache.org/r/39624/ , thanks in advanced for review.
> 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)