OK, after investigating, I think the problem is that, in our current
scan implementation, if filterRowKey returns true, we will just skip
to next row, but for FuzzyRowFilter, what we want is to let the upper
layer call getNextCellHint and seek to this row, as the special
pattern in the fuzzy key can help us skip unnecessary rows.

张铎(Duo Zhang) <[email protected]> 于2023年1月28日周六 18:44写道:
>
> Skimmed the javadoc and also the implementation, it only performs
> filtering on the row key, then why not just implement filterRowKey?
>
> It is added in HBASE-6509, and I checked the repo at that time
>
> https://github.com/apache/hbase/tree/5876b5b662e83149bd1d726cdb7a1ac0310cc25c
>
> We already have the filterRowKey method in Filter.
>
> Does anyone in the community still remember something? Anyway, I will
> try to change to use filterRowKey to see if it will break any UTs.
>
> Thanks.

Reply via email to