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 2019/06/24 18:16:53 UTC

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

julianhyde commented on issue #7953: Exact distinct-COUNT with complex expression (CASE, IN) throws NullPointerException
URL: https://github.com/apache/incubator-druid/issues/7953#issuecomment-505121858
 
 
   I agree, and the crack is probably in Calcite. `IN` is a good place to look, because it often causes problems - we have to remember to do a particular rewrite to expand it.
   
   I'm curious that the expression has been internally rewritten to `COUNT(DISTINCT $2) FILTER $3`. I don't remember that rewrite going into Calcite. (It's a good one, though.)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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