vvysotskyi commented on a change in pull request #1714: DRILL-7048: Implement JDBC Statement.setMaxRows() with System Option URL: https://github.com/apache/drill/pull/1714#discussion_r269025296
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/QueryManager.java ########## @@ -379,6 +379,12 @@ private QueryProfile getQueryProfile(UserException ex) { profileBuilder.setQuery(queryText); } + final int autoLimitRowCount = foreman.getQueryContext().getOptions().getOption(ExecConstants.QUERY_MAX_ROWS).num_val.intValue(); Review comment: Please remove `final` modifier here and in other places where it is not required. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services