AdamGS opened a new issue, #23428:
URL: https://github.com/apache/datafusion/issues/23428

   ### Describe the bug
   
   Calling `<Expr as ExprSchemable>::nullable` on an InSubquery expression only 
uses the `expr`'s nullability over the schema, and not the subquery's 
nullability. so it return `false` for queries with the general shape of 
`x_non_null IN (SELECT a_nullable FROM t)`.
   
   This will cause `ExprSimplifier` to wrongly simplify some expressions into a 
`lit(true)` incorrectly.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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