junegunn commented on code in PR #7432:
URL: https://github.com/apache/hbase/pull/7432#discussion_r2485841057
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java:
##########
@@ -1204,6 +1207,9 @@ public static Scan toScan(final ClientProtos.Scan proto)
throws IOException {
scan.setNeedCursorResult(true);
}
scan.setQueryMetricsEnabled(proto.getQueryMetricsEnabled());
+ if (proto.hasLimit()) {
+ scan.setLimit(proto.getLimit());
Review Comment:
A negative limit value will be ignored.
--
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]