hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swarnim Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11329) Column prefix in key of hbase column prefix map
Date Sun, 26 Jul 2015 03:49:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641832#comment-14641832
] 

Swarnim Kulkarni commented on HIVE-11329:
-----------------------------------------

[~woj_in] Thanks for the patch! I am pretty sure I am missing something here but would you
mind explaining with an example to me as to what problems is having a prefix in the column
name causing? The reason I ask is this needs to be consistently applied in all the other cases
as well if needed, for example when reading all columns of hbase etc.

> 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)

Mime
View raw message