kkhatua 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_r268769689
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
 ##########
 @@ -283,6 +298,21 @@ public RemoteFunctionRegistry getRemoteFunctionRegistry() 
{
     return drillbitContext.getRemoteFunctionRegistry();
   }
 
+  /**
+   * Returns the maximum size of auto-limited resultset
+   * @return Maximum size of auto-limited resultSet
+   */
+  public int getAutoLimitRowCount() {
 
 Review comment:
   Ok. Since I was using it at 4 other places, It seemed cleaner to have a 
single API instead of resolving it through `getOptions().getOption...`

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


With regards,
Apache Git Services

Reply via email to