Copilot commented on code in PR #8360:
URL: https://github.com/apache/hbase/pull/8360#discussion_r3418732275


##########
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:
   This reverse-case assertion now expects a *decremented* (unadjusted) hint to 
avoid returning the current row as the hint. Adding a short comment here would 
make the intent clearer, since the method-level comment above says the reverse 
hint is increased in reverse scans.



-- 
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]

Reply via email to