[
https://issues.apache.org/jira/browse/HBASE-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585595#comment-13585595
]
Alex Baranau commented on HBASE-7892:
-------------------------------------
Oh, I must have confused javadoc with the HBASE-6618 one (i.e. improved).
I guess you logic could be applied to the HBASE-6618 too. Though I don't see
problems with requiring \x00 at non-fixed positions if that makes the algo of
aplying filter simpler/more efficient.
I believe current implementation should be patched with HBASE-6618, so I'd ask
you to base you patch on it. Could you take a look if it still sensible in the
context of HBASE-6618 please?
> FuzzyRowFilter would have wrong behaviors if user gives an arbitary byte for
> an "unfixed" position instead of byte 0
> --------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7892
> URL: https://issues.apache.org/jira/browse/HBASE-7892
> Project: HBase
> Issue Type: Improvement
> Components: Filters
> Affects Versions: 0.96.0, 0.94.5
> Reporter: Maryann Xue
> Assignee: Maryann Xue
> Priority: Minor
> Attachments: HBASE-7892-0.94.patch
>
>
> An actual case can be:
> we want to match "a?ex", so we give "a?ex" as input of "key bytes", and
> "0100" as input of "meta bytes".
> if we start with row = "\0\0\0\0", the next hint would turn out to be "a?ex"
> while actually the right hint should be "a\0ex".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira