adiranjan25 commented on issue #19189:
URL: https://github.com/apache/iceberg/issues/19189#issuecomment-7263925677

   Thanks for reporting this issue and providing the detailed reproduction 
steps.
   
   I'd like to take ownership of investigating and contributing a fix for this 
issue.
   
   The distinction between a NULL struct and a non-NULL struct containing NULL 
fields is important for query correctness, particularly when nested-field 
projection interacts with identity partitioning. The potential impact on DELETE 
operations and data-file rewrites makes this especially worth addressing.
   
   My investigation will focus on:
   
   - Reproducing the reported behavior against the latest upstream `main`.
   - Tracing Parquet schema projection, partition constant reconstruction, and 
definition-level handling to identify where struct nullability is lost.
   - Evaluating whether the existing presence-column selection mechanism 
correctly handles projected partition fields.
   - Developing a targeted fix that preserves struct nullability without 
unnecessarily widening column projections.
   - Adding regression coverage for NULL structs, non-NULL structs containing 
NULL fields, and non-NULL structs containing actual values.
   - Validating query correctness and, where applicable, DELETE and data-file 
rewrite behavior.
   
   I'll also ensure that the proposed changes are consistent with the existing 
nested projection and presence-column handling.
   
   If no one else is actively working on this, I'd appreciate the opportunity 
to take this issue forward. Could a maintainer please assign it to me?
   
   I'll share my findings and submit a PR once the root cause and regression 
tests have been validated.
   
   Thanks!


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