paul-rogers commented on issue #11929:
URL: https://github.com/apache/druid/issues/11929#issuecomment-1095517544

   One nit on the `WHERE TRUE`: this won't work the way we hope. The default in 
SQL is `WHERE TRUE`. Calcite will optimize all trivial expressions `WHERE 1=1`, 
`WHERE 0=0`, etc. down to nothing, which means `WHERE TRUE`. So, we probably 
can't (and shouldn't) tell the difference between no `WHERE` at all and `WHERE 
TRUE`.


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