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

FuzzyRowFilter unpredictable with jagged rowkeys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Filters
    • None

    Description

      FuzzyRowFilter getNextCellHint doesn't take into account jagged rowkeys and produces surprising results. For example, given a table of

      0
      0/0
      0/1
      0/2
      1
      1/0
      1/1
      1/2
      2
      2/0
      2/1
      2/2
      

      and FuzzyPrefixFilter like "?/2",

      {1, 0, 0}

      I would expect

      0/2
      1/2
      2/2
      

      The results include the rows '0', '1', and '2'

      Attachments

        1. 12222_tests.patch
          12 kB
          Nick Dimiduk

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: