EungsopYoo commented on code in PR #8360:
URL: https://github.com/apache/hbase/pull/8360#discussion_r3425174105
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFuzzyRowFilter.java:
##########
@@ -265,7 +265,7 @@ public void testGetNextForFuzzyRuleReverse() {
assertNext(true, new byte[] { 0, 1, 0, 0 }, // fuzzy row
new byte[] { 0, -1, 0, 0 }, // mask
new byte[] { 5, 1, (byte) 255, 1 }, // current
- new byte[] { 5, 1, (byte) 255, 1 }); // expected next
+ new byte[] { 5, 1, (byte) 255, 0 }); // expected next
Review Comment:
Addressed. I split the same-row reverse hint expectations into a separate
test method, `testGetNextForFuzzyRuleReverseAvoidsSameRowHint`, so the fallback
behavior is documented at the test-method level instead of on one assertion.
Commit:
https://github.com/EungsopYoo/hbase/commit/fbbfabbdacf71e7cdd6d2a12f7b34e79377d7d47
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]