gianm commented on issue #18058:
URL: https://github.com/apache/druid/issues/18058#issuecomment-2945833234

   @carltal It depends on how the SQL query is translated. The planner makes 
some effort to translate `coalesce` in a low-impact way. Ideally for a 
situation like this, it will be translated to a post-aggregator, where it's 
applied just once on the result of the aggregation. You can check `EXPLAIN PLAN 
FOR` to see how the query is being translated.


-- 
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]

Reply via email to