yashmayya commented on code in PR #14452:
URL: https://github.com/apache/pinot/pull/14452#discussion_r1853724818


##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java:
##########
@@ -308,6 +313,10 @@ protected BrokerResponse handleRequest(long requestId, 
String query, SqlNodeAndO
         }
       }
 
+      if (isDefaultQueryResponseLimitEnabled() && !pinotQuery.isSetLimit()) {

Review Comment:
   > That will also make documentation of this feature simpler. No need to 
explain when this limit is enabled
   
   There's no new config for that here anyway though, the enabled check was 
simply verifying whether the config value was > -1. The enabled config is for 
the existing "override" limit config.



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

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to