[
https://issues.apache.org/jira/browse/HBASE-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015485#comment-13015485
]
Ted Yu commented on HBASE-3729:
-------------------------------
Here is sample output:
{code}
hbase(main):001:0> get 'SECOND_2-1299913025789',
'F871915C83D0D046642369B88904F8CD', { TIMERANGE => [0,1] }
COLUMN CELL
0 row(s) in 0.3130 seconds
get 'SECOND_2-1299913025789', 'F871915C83D0D046642369B88904F8CD', { TIMERANGE
=> [0,10000000000000000] }
COLUMN CELL
v:_ timestamp=1299913025789, value=\x00\x069\xFC
F871915C83D0D046642369B88904F8CD\x1670gCcSu8wbc
ZOOpN65azZw\x00\x00\x00\x00\x01"\xDD\x8E4\x00\x00\x00\x00\x00
1 row(s) in 0.0470 seconds
{code}
> Get cells via shell with a time range predicate
> -----------------------------------------------
>
> Key: HBASE-3729
> URL: https://issues.apache.org/jira/browse/HBASE-3729
> Project: HBase
> Issue Type: New Feature
> Components: shell
> Reporter: Eric Charles
> Assignee: Ted Yu
>
> HBase shell allows to specify a timestamp to get a value
> - get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
> If you don't give the exact timestamp, you get nothing... so it's difficult
> to get the cell previous versions.
> It would be fine to have a "time range" predicate based get.
> The shell syntax could be (depending on technical feasibility)
> - get 't1', 'r1', {COLUMN => 'c1', TIMERANGE => (start_timestamp,
> end_timestamp)}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira