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 2022/09/28 18:07:48 UTC

[GitHub] [druid] gianm commented on issue #13152: Unsatisfyable WHERE clause leads to exception instead of empty result

gianm commented on issue #13152:
URL: https://github.com/apache/druid/issues/13152#issuecomment-1261288990

   I tried this locally and what happens here is:
   
   1. The unsatisfiable filter leads to the table being swapped out with an inline empty recordset. This is good, it means the planner realizes no data can possibly match the filter.
   2. The query runs as normal on the inline empty recordset. Here it fails because `scan` query does not support ordering on inline data.
   
   We can fix it by allowing the `scan` query to order inline data.


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