You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "asimsedhain (via GitHub)" <gi...@apache.org> on 2023/12/30 21:56:21 UTC

Re: [I] Add `NULL` in list simplifications [arrow-datafusion]

asimsedhain commented on issue #8688:
URL: https://github.com/apache/arrow-datafusion/issues/8688#issuecomment-1872613935

   I would like to take a look at this.
   
   If my understanding is correct, the first case i.e. `SELECT .. WHERE NULL IN (…)` would simplify to  `SELECT .. WHERE False`.
   
   As for the second case, `SELECT .. WHERE x IN (NULL, …)` would be simplified to `SELECT .. WHERE x IN (…)` as it could still return rows for the other exprs in the list. 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org