adriangb opened a new pull request, #27876:
URL: https://github.com/apache/datafusion/pull/27876

   ## Which issue does this PR close?
   
   - Prepares for https://github.com/apache/datafusion/pull/27736.
   
   ## Rationale for this change
   
   Predicates on struct fields such as `s['a'] > 5` do not prune Parquet row 
groups or pages today. This PR records that behavior in tests. The follow-up PR 
https://github.com/apache/datafusion/pull/27736 adds the pruning and updates 
the expected output. Its diff then shows the effect of the change directly.
   
   ## What changes are included in this PR?
   
   This PR is tests only. It does not change any behavior.
   
   - `datafusion/sqllogictest/test_files/parquet_struct_field_pruning.slt` 
writes Parquet files with struct columns. It records the `EXPLAIN ANALYZE` row 
group and page pruning metrics for predicates on struct fields.
   - `datafusion/core/tests/parquet/struct_field_pruning.rs` checks that the 
scan keeps a row group when a struct field has no null count statistic.
   
   ## What is the testing strategy for this PR?
   
   The PR consists of the new tests. They pass on `main` and record its current 
behavior.
   
   ## Are there any user-facing changes?
   
   No.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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