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

SingleColumnValueFilter returns wrong result when used in shell command

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0-alpha-4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There are two cells in table t1:

      ROW                                                         COLUMN+CELL
       r1                                                         column=f1:a1, timestamp=1516313683984, value=a2
       r1                                                         column=f1:b1, timestamp=1516313700744, value=b2
      

      When SingleColumnValueFilter is used in shell command, no filtering was done:

      hbase(main):022:0> scan 't1', {FILTER => "SingleColumnValueFilter('f1', 'a1', =, 'binary:a2')"}
      ROW                                                         COLUMN+CELL
       r1                                                         column=f1:a1, timestamp=1516313683984, value=a2
       r1                                                         column=f1:b1, timestamp=1516313700744, value=b2
      

        Attachments

        1. HBASE-19824.master.001.patch
          16 kB
          Reid Chan
        2. HBASE-19824.master.002.patch
          17 kB
          Reid Chan

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: