Apache9 commented on code in PR #7432:
URL: https://github.com/apache/hbase/pull/7432#discussion_r2486671535


##########
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java:
##########
@@ -1099,6 +1099,9 @@ public static ClientProtos.Scan toScan(final Scan scan) 
throws IOException {
       scanBuilder.setNeedCursorResult(true);
     }
     scanBuilder.setQueryMetricsEnabled(scan.isQueryMetricsEnabled());
+    if (scan.getLimit() > 0) {

Review Comment:
   OK, limit is in ScanRequest, not in Scan, Scan is just part of a ScanRequest.
   
   So we should not change the code here.



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