xhwhis commented on issue #18241:
URL: https://github.com/apache/datafusion/issues/18241#issuecomment-3435785177

   The issue likely comes from 
https://github.com/apache/datafusion/blob/408e1e4e2c46d673a067e05f3e363a6f51e641c4/datafusion/datasource-parquet/src/metadata.rs#L247-L322
   
   When one column has statistics, the code processes all columns’ statistics. 
For columns with statistics disabled, their stats are recorded as `NULL` 
instead of being marked as `Absent`, which causes incorrect predicate pruning 
on `IS NULL` / `IS NOT NULL` filters.


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