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

Phabricator commented on HIVE-2828:
-----------------------------------

ndimiduk added a subscriber: ndimiduk.
ndimiduk accepted this revision.
ndimiduk added a reviewer: ndimiduk.
ndimiduk added a comment.
This revision is now accepted and ready to land.

+1

BRANCH
  DPAL-861

INLINE COMMENTS
  hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:154 
This is as good a decision as any. Maybe down the road someone will want to 
specify which cell's timestamp maps to which column?

REVISION DETAIL
  https://reviews.facebook.net/D1989

To: navis, JIRA, ndimiduk
Cc: ndimiduk


> 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, HIVE-2828.6.patch.txt, 
> HIVE-2828.7.patch.txt, HIVE-2828.8.patch.txt
>
>
> 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)

Reply via email to