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

Brian Johnson commented on PIG-4550:
------------------------------------

actually, it's more complicated than that. As you said, theses are cell 
timestamps, not row timestamps. While it makes sense to use the same timestamp 
for writing every cell, when reading the timestamps may not be the same for 
every cell depending on how they were written. You would need a format that 
returned a timestamp for each field.

> HBaseStorage, return timestamp of cell stored in HBase
> ------------------------------------------------------
>
>                 Key: PIG-4550
>                 URL: https://issues.apache.org/jira/browse/PIG-4550
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.12.0
>         Environment: HBaseStorage, HBase
>            Reporter: Sergey
>            Assignee: Sergey
>            Priority: Minor
>
> HBase implicitly stores timestamp for each cell. Sometimes this feature is 
> used to track historical data. I would like to provide option for 
> HBaseStorage  which would return cell timestamp in milliseconds
> Interface:
> add option "withTimestamp" to HBaseStorage constructor
> Implementation:
> add timestamp:long as last element of tuple.
> RFC.



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

Reply via email to