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/07/22 15:28:02 UTC

[GitHub] [incubator-druid] saulfrank opened a new issue #8123: SQL where equals subquery cannot build query plan

saulfrank opened a new issue #8123: SQL where equals subquery cannot build query plan
URL: https://github.com/apache/incubator-druid/issues/8123
 
 
   
   ### Affected Version
   
   Version 0.15.0
   
   ### Description
   This query produces: Unknown exception (org.apache.druid.java.util.common.ISE): Cannot build plan for query
   
   select * from "druid"."table"
   where __time = (
   select max(__time) as file_date from "druid"."table")
   
   I also tried this on the date field but got the same:
   
   select * from "druid"."table"
   where file_date = (
   select max(file_date) as file_date from "druid"."table")
   
   I would have thought this would work?
   

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