Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10102

CF.VERSIONS is not enforced with timerange scans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Example brought up by Niels Basjes on the user list:
      If I do the following commands into the hbase shell

          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
      

      Attachments

        1. 10102-0.94-POC.txt
          3 kB
          Lars Hofhansl

        Activity

          People

            Unassigned Unassigned
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: