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

Get cells via shell with a time range predicate

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0
    • shell
    • None
    • Reviewed

    Description

      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)}

      Attachments

        1. 3729.txt
          2 kB
          Ted Yu
        2. 3729-v2.txt
          2 kB
          Ted Yu
        3. 3729-v3.txt
          2 kB
          Ted Yu
        4. 3729-v4.txt
          3 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            eric@apache.org Eric Charles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: