hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12222) FuzzyRowFilter unpredictable with jagged rowkeys
Date Fri, 10 Oct 2014 01:26:33 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nick Dimiduk updated HBASE-12222:
---------------------------------
    Attachment: 12222_tests.patch

Here are some new tests. Let me know if you think I have this wrong.

> 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
>         Attachments: 12222_tests.patch
>
>
> 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)

Mime
View raw message