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 2020/06/04 15:59:44 UTC

[GitHub] [druid] weishiuntsai edited a comment on issue #9896: Remove Bindable query path

weishiuntsai edited a comment on issue #9896:
URL: https://github.com/apache/druid/issues/9896#issuecomment-638947396


   Druid currently can't build a plan for the following join query when the WHERE clause evaluates to FALSE. By removing the bindable query path can help with this too:
   
   ```
   SELECT COUNT(DISTINCT T1.tab0s1)
   FROM tab0 as T1 LEFT JOIN tab0 as T2
   on T1.__time = T2.__time
   WHERE (1=0)
   ```
   ```
   Unknown exception / Cannot build plan for query: SELECT COUNT(DISTINCT T1.tab0s1) FROM tab0 as T1 LEFT JOIN tab0 as T2 on T1.__time = T2.__time WHERE (1=0) / org.apache.druid.java.util.common.ISE
   ```


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



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