Hi all,

I have the following row structure:

yyyyMMdd_Country_CategoryId1_CategoryId2_CategoryId3

Any field, except for the date may be empty (each day there is one row that
looks like this: yyyyMMdd____)

I use FuzzyRowFilter like this:

Filter filter = new FuzzyRowFilter(
                Arrays.asList(
                        new Pair<>(

Bytes.toBytesBinary("\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00____"),
                                new byte[] {1,1,1,1,1,1,1,1,0,0,0,0})));
In addition to getting back all rows of type:
yyyyMMdd____
I also get rows of type:
yyyyMMdd____13 - where 13 is of type CategoryId3

It looks like FuzzyRowFilter acts as RowPrefixFilter as well...

Is it supposed to be like that ?  am I using it wrong ?

Thanks,
Amit.

(Using HBase 0.94.12 with Hadoop 1.0.4)

Reply via email to