vrajat commented on code in PR #14452: URL: https://github.com/apache/pinot/pull/14452#discussion_r1853716998
########## 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: +1 - I was just about commenting the same thing in the `CommonConstants` file. That will also make documentation of this feature simpler. No need to explain when this limit is _enabled_ -- 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