You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Muhammad Ehsan ul Haque (JIRA)" <ji...@apache.org> on 2014/09/01 10:14:21 UTC

[jira] [Commented] (HIVE-2828) make timestamp accessible in the hbase KeyValue

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

Muhammad Ehsan ul Haque commented on HIVE-2828:
-----------------------------------------------

What is the status of this ticket?
Can someone tell me if this is going to be pushed? or any reason why its not pushed?

This is a good feature and we have come to a couple of situations where this support is good to have.

The current patch might not be applicable to the current version Hive 0.13, but I can work on it (in-fact I have a patch available with the current trunk but slightly different implementation). 

> make timestamp accessible in the hbase KeyValue 
> ------------------------------------------------
>
>                 Key: HIVE-2828
>                 URL: https://issues.apache.org/jira/browse/HIVE-2828
>             Project: Hive
>          Issue Type: Improvement
>          Components: HBase Handler
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.1.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.2.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.3.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.4.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.5.patch
>
>
> Originated from HIVE-2781 and not accepted, but I think this could be helpful to someone.
> By using special column notation ':timestamp' in HBASE_COLUMNS_MAPPING, user might access timestamp value in hbase KeyValue.
> {code}
> CREATE TABLE hbase_table (key int, value string, time timestamp)
>   STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
>   WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf:string,:timestamp")
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)