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

ColumnRangeFilter combined with ColumnPaginationFilter can produce incorrect result since 1.4

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When ColumnPaginationFilter is combined with ColumnRangeFilter, we may see incorrect result.

      Here is a simple example.

      One row with 10 columns c0, c1, c2, .., c9. I have a ColumnRangeFilter for range c2 to c9. Then I have a ColumnPaginationFilter with limit 5 and offset 0. FileterList is FilterList(Operator.MUST_PASS_ALL, ColumnRangeFilter, ColumnPaginationFilter).
      We expect 5 columns being returned. But in HBase 1.4 and after, 4 columns are returned.
      In 1.2.x, the correct 5 columns are returned.

      Attachments

        1. debug.diff
          1 kB
          Zheng Hu
        2. debug.log
          4 kB
          Zheng Hu
        3. HBASE-20565.branch-1.v1.patch
          13 kB
          Zheng Hu
        4. HBASE-20565.v1.patch
          6 kB
          Zheng Hu
        5. HBASE-20565.v2.patch
          11 kB
          Zheng Hu
        6. HBASE-20565.v3.patch
          11 kB
          Zheng Hu
        7. test-branch-1.4.patch
          3 kB
          Jerry He

        Issue Links

          Activity

            People

              openinx Zheng Hu
              jinghe Jerry He
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: