You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/11/26 06:55:24 UTC

[GitHub] [druid] rohangarg commented on issue #7953: Exact distinct-COUNT with complex expression (CASE, IN) throws NullPointerException

rohangarg commented on issue #7953:
URL: https://github.com/apache/druid/issues/7953#issuecomment-979736033


   @julianhyde : I checked the issue you posted - CALCITE-3144 and I think it solves one of the two problems mentioned in this thread - of transforming a case statement to a filtered aggregator for optimized execution in some systems.
   
   But the other problem still remains, ie the following query still throws an error `SELECT COUNT(DISTINCT foo.dim1) FILTER(WHERE foo.cnt = 1), SUM(foo.cnt) FROM druid.foo` and explanation that Gian wrote above still hold according to me. Do you recall any reason for not making any changes in `AggregateExpandDistinctAggregatesRule`?


-- 
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-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org