dqkqd commented on issue #18922:
URL: https://github.com/apache/datafusion/issues/18922#issuecomment-3577546042

   > I think arrow::compute::kernels::boolean::or should be used here instead 
of the arrow::compute::kernels::boolean::and
   
   The [docs for 
contained](https://docs.rs/datafusion/latest/datafusion/common/pruning/trait.PruningStatistics.html#tymethod.contained)
 states that it should return:
   
   - true if the values in column ONLY contain values from values.
   - false if the values in column are NOT ANY of values
   - null if the neither of the above holds or is unknown.
   
   This explains why `arrow::compute::kernels::boolean::and` being used.
   


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