You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Govindarajan-D (via GitHub)" <gi...@apache.org> on 2026/04/26 17:43:59 UTC

[I] API: StructProjection.createAllowMissing does not propagate allowMissing to nested struct sub-projections [iceberg]

Govindarajan-D opened a new issue, #16123:
URL: https://github.com/apache/iceberg/issues/16123

   ### Apache Iceberg version
   
   None
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   In StructProjection.java, for nested Struct Types, allowMissing is not passed to the constructor there by making any optional fields in nested struct to throw IllegalArgumentException instead of it being made as null.
   
   ```
     case STRUCT:                                                                                                                                                                                                                
         nestedProjections[pos] =
             new StructProjection(                                                                                                                                                                                               
                 dataField.type().asStructType(), projectedField.type().asStructType());
         // allowMissing is not forwarded                                                                                                                                                                                        
         break;
   ```
   
   Ref: https://github.com/apache/iceberg/blob/bac514ab4e72f0a75bf045c63a66009a0115022e/api/src/main/java/org/apache/iceberg/util/StructProjection.java#L126-L127
   
   ### Willingness to contribute
   
   - [x] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] API: StructProjection.createAllowMissing does not propagate allowMissing to nested struct sub-projections [iceberg]

Posted by "sachinnn99 (via GitHub)" <gi...@apache.org>.
sachinnn99 commented on issue #16123:
URL: https://github.com/apache/iceberg/issues/16123#issuecomment-4349714848

   I'd like to work on this.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] API: StructProjection.createAllowMissing does not propagate allowMissing to nested struct sub-projections [iceberg]

Posted by "Govindarajan-D (via GitHub)" <gi...@apache.org>.
Govindarajan-D commented on issue #16123:
URL: https://github.com/apache/iceberg/issues/16123#issuecomment-4349920203

   @sachinnn99 We have a PR that is already open for this: #15984 and linked to this. Can you check that and close this PR as it is a duplicate?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] API: StructProjection.createAllowMissing does not propagate allowMissing to nested struct sub-projections [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary closed issue #16123: API: StructProjection.createAllowMissing does not propagate allowMissing to nested struct sub-projections
URL: https://github.com/apache/iceberg/issues/16123


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org