xiangfu0 opened a new pull request, #17247: URL: https://github.com/apache/pinot/pull/17247
Add `maxRowsInDistinct`/`numRowsWithoutChangeInDistinct` plumbing throughout the distinct pipeline: query options, executors, dictionary plan, and broker/server metadata so early termination is reported consistently Teach every distinct executor (raw & dictionary, single & multi column) to respect a per-query row budget by clamping block ranges, and surface the remaining allowance to `DistinctOperator` Update `DistinctOperator` and `DictionaryBasedDistinctOperator` to program the row budget, compute accurate stats, and attach the standard early-termination reason on the results block Add lightweight executor-level tests plus a custom integration suite that covers scalar/MV/multi-column distinct queries and both early-termination knobs for single- and multi-stage engines -- 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]
