agavra opened a new pull request, #10188: URL: https://github.com/apache/pinot/pull/10188
This PR introduces support for `COUNT(DISTINCT <foo>)` in the multistage engine. Before this PR, the `COUNT(DISTINCT X)` was turned into just `COUNT(X)` because the `distinct` field was ignored in the `RexExpression#toRexExpression(AggregateCall aggCall)` method. After this PR, we split it into a v1 `DISTINCTCOUNT` and then a SUM at the end -- 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