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

A B commented on THRIFT-2468:
-----------------------------

I realized that getRowTs only gets data OLDER than the given timestamp.
If i use the exact timestamp of the data, I get only data bevor the timestamp.

I thought getRowTs gives the data at the timestamp WITH changes at this 
timestamp.
It seems that I must add 1 millisecond to the timestamp of the data to get the 
expected result.


> Timestamp handling
> ------------------
>
>                 Key: THRIFT-2468
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2468
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.9.1
>         Environment: nodejs v0.10.17
> thrift 0.9.1
>            Reporter: A B
>              Labels: node.js, thrift
>         Attachments: Hbase.js, Hbase.thrift, Hbase_types.js
>
>
> When writing data i use a number for timestamp:
> mutateRowTs ("tab", "key", data, 1234567890 ..
> When reading data i must use a string for timestamp:
> getRowTs ("tab", "key", "1234567890" ...
> Triing to use a number results in an empty result.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to