ihuzenko commented on a change in pull request #1608: DRILL-6960: Auto Limit Wrapping should not apply to non-select query URL: https://github.com/apache/drill/pull/1608#discussion_r253497690
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java ########## @@ -273,6 +279,29 @@ public RemoteFunctionRegistry getRemoteFunctionRegistry() { return drillbitContext.getRemoteFunctionRegistry(); } + /** + * Check if auto-limiting of resultset is enabled + * @return + */ + public boolean isAutoLimitEnabled() { + return autoLimitRowCount != null; + } + + /** + * Returns the maximum size of auto-limited resultset + * @return Review comment: After ```@return``` usually follows description about returned value. Please check existing Drill javadocs and add yours. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services