Jackie-Jiang commented on PR #13555: URL: https://github.com/apache/pinot/pull/13555#issuecomment-2214679736
Thanks for fixing this! Ideally we should short circuit the execution when `LIMIT` is set to 0, and only return the data schema. Currently we have 3 places to handle short circuit: - In `BaseSingleStageBrokerRequestHandler` - In `ServerQueryExecutorV1Impl` - In `SelectionOnlyCombineOperator` Only the third one keeps the proper data schema. I'd suggest creating an issue to track this, and we should properly short circuit the queries that: - Not hitting any segment after pruning - With always false filter - With LIMIT 0 -- 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]
