Shekharrajak opened a new pull request, #3756:
URL: https://github.com/apache/iceberg-rust/pull/3756
## Which issue does this PR close?
Related to apache/datafusion-comet#6790.
## What changes are included in this PR?
When none of a projected struct’s children match a name-mapped Parquet file,
the reader can fall back to reading every column. This can produce a present
struct like `{x: NULL}` where Iceberg Java returns `NULL` for the whole struct.
Use an empty Parquet projection when no requested leaf matches.
## Are these changes tested?
Added a reader regression that selects `s` alone and alongside `id`. It
checks that an unmapped child yields a whole-struct `NULL`, and that a mapped
child with a stored `NULL` preserves the parent struct
## AI Disclosure
Codex assisted
--
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]