siddharthteotia commented on PR #10188: URL: https://github.com/apache/pinot/pull/10188#issuecomment-1409379408
Is my reading correct that let's say the following `DISTINCTCOUNT` query on multi stage engine can potentially be done in a 3 stage plan as opposed to a existing engine's 2 stage plan where broker does non-trivial compute for merge etc ? `SELECT DISTINCTCOUNT(col1) FROM FOO WHERe col2 > 100` ``` Stage 3 (leaf) scan -> filter -> project -> partial aggregate Hash Partition Exchange Stage 2 (intermediary) partial aggregate from stage 3 -> final aggregate Send to Broker Exchange Stage 1 (broker / reduce) Concat -> Output ``` -- 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