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

SingleColumnValueFilter returns wrong result when used in shell command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.0.0-alpha-4
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: