cgivre commented on a change in pull request #2092:
URL: https://github.com/apache/drill/pull/2092#discussion_r507137604



##########
File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScanWithMetadata.java
##########
@@ -451,19 +456,20 @@ public boolean supportsLimitPushdown() {
 
   @Override
   public GroupScan applyLimit(int maxRecords) {
-    maxRecords = Math.max(maxRecords, 1); // Make sure it request at least 1 
row -> 1 file.
+    this.maxRecords = maxRecords;

Review comment:
       Removed... the `TODO` is actually unnecessary. 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to