You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2013/02/21 04:54:13 UTC
[jira] [Updated] (HBASE-7892) FuzzyRowFilter would have wrong
behaviors if user gives an arbitary byte for an "unfixed" position instead
of byte 0
[ https://issues.apache.org/jira/browse/HBASE-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maryann Xue updated HBASE-7892:
-------------------------------
Attachment: HBASE-7892-0.94.patch
1. initialize the unfixed positions with byte 0
2. remove copying of row - improve performance
3. add corresponding test cases
> 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