vvysotskyi commented on a change in pull request #1608: DRILL-6960: AutoLimit 
the size of ResultSet for a WebUI (or REST) client
URL: https://github.com/apache/drill/pull/1608#discussion_r258620609
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryWrapper.java
 ##########
 @@ -73,8 +79,11 @@ public QueryResult run(final WorkManager workManager, final 
WebUserConnection we
     final RunQuery runQuery = RunQuery.newBuilder().setType(getType())
         .setPlan(getQuery())
         .setResultsMode(QueryResultsMode.STREAM_FULL)
+        .setAutolimitRowcount(autoLimitRowCount == null ? 0 : 
autoLimitRowCount)
 
 Review comment:
   ```suggestion
           .setAutolimitRowcount(autoLimitRowCount)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to