msirek commented on issue #8241:
URL: 
https://github.com/apache/arrow-datafusion/issues/8241#issuecomment-1816954042

   Maybe adding an `IS NOT false` to the left_col = right_col predicate here, 
if `right_col` is nullable, would fix this:
   
https://github.com/apache/arrow-datafusion/blob/05f0fa14628dab1cf27a3b15c3ae7d53cc01d1b2/datafusion/optimizer/src/decorrelate_predicate_subquery.rs#L264-L276
   
   Then optimizations could be added later.


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

Reply via email to