[
https://issues.apache.org/jira/browse/HBASE-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585450#comment-13585450
]
Alex Baranau commented on HBASE-7892:
-------------------------------------
Hi!
Actually, this is not a bug, it was made so by design. There's a javadoc note
on that. Also, note that this is used in HBASE-6618 - more advanced
implementation with ranges support (patch is ready, waits for review).
[~maryannxue] Could you please take a look at that one too?
Thank you for looking at the filter and trying to improve it!
> 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