HBase
  1. HBase
  2. HBASE-3729

Get cells via shell with a time range predicate

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: shell
    • Labels:
      None
    • Hadoop Flags:
      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)}
      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

          • Assignee:
            Ted Yu
            Reporter:
            Eric Charles
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development