fallintoplace opened a new pull request, #2511:
URL: https://github.com/apache/iceberg-go/pull/2511

   ## What
   - Reject duplicate aliases in a name mapping.
   
   ## Why
   - A matching name could otherwise resolve to different Iceberg field IDs.
   
   ## Implementation
   - Return `ErrInvalidSchema` for duplicate names at the same mapping level.
   - Allow the same name under separate structs.
   
   ## References
   - [Iceberg spec: Column 
Projection](https://iceberg.apache.org/spec/#column-projection)
   - Java 
[`MappedFields.indexIds`](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/mapping/MappedFields.java#L531-L558)
   


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