pjain1 commented on issue #16728:
URL: https://github.com/apache/druid/issues/16728#issuecomment-2225819998

   Thanks @kgyrtkirk for the inputs, it works really well is cases where metric 
definition is simple. In case where metric expression is a little involved, 
filter needs to be added to each agg function for example `sum(price) - 
sum(cost)` would need to become `sum(price) FILTER (…) - sum(cost) FILTER (…)` 
and so on. Also tried a semi-join approch but that does not work well in Druid, 
planner essentially does an inner join with whole underlying table.


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