ShashidharM0118 commented on issue #19092:
URL: https://github.com/apache/datafusion/issues/19092#issuecomment-3679085960

   > I did a quick, slightly more complex test. `NULL IS NOT NULL OR a = 24` 
simplifies to `false OR a = 24`, but that isn't simplified further to `a = 24`. 
Could that redundant `or false` get in the way of pruning?
   
   I tried a test to verify the value of `tf.transformed` for the expression 
`NULL IS NOT NULL OR a = 24`, and it returned `false`. When `tf.transformed == 
false`, simplification is skipped in the original code (line 479: `expr = 
tf.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: [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