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

   ## What
   - Keep every sort field source ID when assigning fresh schema IDs.
   
   ## Why
   - Iceberg v3 multi-argument sort fields use an ordered `source-ids` list. 
Dropping all but the first ID changes the sort field.
   
   ## Implementation
   - Map each source ID through its column name and keep the same order.
   - Return an invalid-schema error when a source field is missing.
   - Cover JSON output and table metadata creation.
   
   ## References
   - [Iceberg spec: sort orders](https://iceberg.apache.org/spec/#sort-orders)
   - [Java 
`TableMetadata.freshSortOrder`](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/TableMetadata.java)
   


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