[
https://issues.apache.org/jira/browse/HBASE-12222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated HBASE-12222:
---------------------------------
Description:
FuzzyRowFilter getNextCellHint doesn't take into account jagged rowkeys and
produces surprising results. For example, given a table of
{noformat}
0
0/0
0/1
0/2
1
1/0
1/1
1/2
2
2/0
2/1
2/2
{noformat}
and FuzzyPrefixFilter like "?/2", {1, 0, 0}
I would expect
{noformat}
0/2
1/2
2/2
{noformat}
The results include the rows '0', '1', and '2'
was:
FuzzyRowFilter getNextCellHint doesn't take into account jagged rowkeys, thus
it will skip too far ahead. For example, given a table of
{noformat}
0
0/0
0/1
0/2
1
1/0
1/1
1/2
2
2/0
2/1
2/2
{noformat}
and FuzzyPrefixFilter like "?/2", {1, 0, 0}
I would expect
{noformat}
0/2
1/2
2/2
{noformat}
The results include the rows '0', '1', and '2'
> FuzzyRowFilter unpredictable with jagged rowkeys
> ------------------------------------------------
>
> Key: HBASE-12222
> URL: https://issues.apache.org/jira/browse/HBASE-12222
> Project: HBase
> Issue Type: Bug
> Components: Filters
> Reporter: Nick Dimiduk
>
> FuzzyRowFilter getNextCellHint doesn't take into account jagged rowkeys and
> produces surprising results. For example, given a table of
> {noformat}
> 0
> 0/0
> 0/1
> 0/2
> 1
> 1/0
> 1/1
> 1/2
> 2
> 2/0
> 2/1
> 2/2
> {noformat}
> and FuzzyPrefixFilter like "?/2", {1, 0, 0}
> I would expect
> {noformat}
> 0/2
> 1/2
> 2/2
> {noformat}
> The results include the rows '0', '1', and '2'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)