[
https://issues.apache.org/jira/browse/HIVE-11329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693725#comment-14693725
]
Swarnim Kulkarni commented on HIVE-11329:
-----------------------------------------
[~woj_in] I would follow the example configuration in the HBaseSerDe class[1]
to see how a configuration parameter can be passed in and then used within the
code. Also let me know if you have any questions.
[1]
https://github.com/apache/hive/blob/master/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java#L72-L85
> Column prefix in key of hbase column prefix map
> -----------------------------------------------
>
> Key: HIVE-11329
> URL: https://issues.apache.org/jira/browse/HIVE-11329
> Project: Hive
> Issue Type: Bug
> Components: HBase Handler
> Affects Versions: 0.14.0
> Reporter: Wojciech Indyk
> Assignee: Wojciech Indyk
> Priority: Minor
> Attachments: HIVE-11329.1.patch
>
>
> When I create a table with hbase column prefix
> https://issues.apache.org/jira/browse/HIVE-3725 I have the prefix in result
> map in hive.
> E.g. record in HBase
> rowkey: 123
> column: tag_one, value: 0.5
> column: tag_two, value 0.5
> representation in Hive via column prefix mapping "tag_.*":
> column: tag map<string,string>
> key: tag_one, value: 0.5
> key: tag_two, value: 0.5
> should be:
> key: one, value: 0.5
> key: two: value: 0.5
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)