anuragrai16 commented on code in PR #18725:
URL: https://github.com/apache/pinot/pull/18725#discussion_r3421634558
##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java:
##########
@@ -641,6 +641,12 @@ private BrokerResponse
query(QueryEnvironment.CompiledQuery query, long requestI
DispatchableSubPlan dispatchableSubPlan = queryPlanResult.getQueryPlan();
+ // Inject the implicit leaf-stage limit as a query option so servers can
detect truncation
Review Comment:
Makes sense.
Added a metric at the end similar to `groupsTrimmed`. And added the flag to
`augmentStatistics` in `BaseBrokerRequestHandler`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]