You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/12/07 03:27:35 UTC

[jira] [Created] (HBASE-10102) CF.VERSIONS is not enforced with timerange scans

Lars Hofhansl created HBASE-10102:
-------------------------------------

             Summary: CF.VERSIONS is not enforced with timerange scans
                 Key: HBASE-10102
                 URL: https://issues.apache.org/jira/browse/HBASE-10102
             Project: HBase
          Issue Type: Bug
            Reporter: Lars Hofhansl


Example brought up by Niels Basjes on the user list:
If I do the following commands into the hbase shell
{code}
    create 't1', {NAME => 'c1', VERSIONS => 1}
    put 't1', 'r1', 'c1', 'One', 1000
    put 't1', 'r1', 'c1', 'Two', 2000
    put 't1', 'r1', 'c1', 'Three', 3000
    get 't1', 'r1'
    get 't1', 'r1' , {TIMERANGE => [0,1500]}

the result is this:

    get 't1', 'r1'
    COLUMN                     CELL
     c1:                       timestamp=3000, value=Three
    1 row(s) in 0.0780 seconds

    get 't1', 'r1' , {TIMERANGE => [0,1500]}
    COLUMN                     CELL
     c1:                       timestamp=1000, value=One
    1 row(s) in 0.1390 seconds
{code}




--
This message was sent by Atlassian JIRA
(v6.1#6144)