buraksenn opened a new pull request, #24315: URL: https://github.com/apache/datafusion/pull/24315
## Which issue does this PR close? - Closes #24122. ## Rationale for this change Parquet nested schema pruning currently descends through `Struct`, `List`, and `LargeList`. Narrowing casts through `ListView`, `LargeListView`, `FixedSizeList`, or `Dictionary` therefore read physical leaves that the cast never consumes. The issue also listed `RunEndEncoded`, but its casts do not use DataFusion's name-based nested cast path. Arrow may map nested struct fields positionally, so clipping those values could change results; they must remain a full read. ## What changes are included in this PR? Extend nested schema pruning through matching `ListView`, `LargeListView`, `FixedSizeList`, and `Dictionary` wrappers while preserving safe full-read fallbacks. ## Are these changes tested? Yes, with new and existing tests. ## Are there any user-facing changes? No. -- 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]
