nuno-faria opened a new issue, #22030:
URL: https://github.com/apache/datafusion/issues/22030

   ### Describe the bug
   
   The number of pruned and matched Parquet pages shown by the `EXPLAIN 
ANALYZE` is wrong when the scan contains multiple pruning predicates.
   
   ### To Reproduce
   
   ```sql
   copy (select i as k, i as v from generate_series(1, 10) t(i))
   to 't.parquet'
   options (DATA_PAGE_ROW_COUNT_LIMIT 1, WRITE_BATCH_SIZE 1);
   
   create external table t stored as parquet location 't.parquet';
   
   explain analyze select * from t where k > 5 and v > 5;
       -- shows 20 pages total and 10 matched, but should be 10 total and 5 
matched
       -- page_index_pages_pruned=20 total → 10 matched
   ```
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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