Mark1626 commented on issue #18922:
URL: https://github.com/apache/datafusion/issues/18922#issuecomment-3579324569
I've changed the `arrow::compute::kernels::boolean::or` to a
`arrow::compute::kernels::boolean::or_kleene` to take into account the
behaviour of returing `null`.
There seems to be a different issue end-to-end in my case, all the
partitions are selected when `null` is in the filter expr. This seems to be an
issue in the `PruningPredicate` (it creates a `literal(true)` expr auto
qualifying all the partitions) rather than the stats, I'll file a separate
issue for it
```
select ss_list_price
from store_sales
where ss_sold_date_sk in (2451529, 2452570, NULL) limit 10;
```
--
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]