Shruthirdy commented on code in PR #2475:
URL: https://github.com/apache/iceberg-go/pull/2475#discussion_r4529984513
##########
table/metadata.go:
##########
@@ -3693,6 +3686,12 @@ func NewMetadataWithUUID(sc *iceberg.Schema, partitions
*iceberg.PartitionSpec,
return nil, err
}
+ // reassignIDs looks up partition and sort columns by ID, so each ID
must
+ // point to one field (#2393).
+ if err := iceberg.ValidateUniqueFieldIDs(sc); err != nil {
+ return nil, err
+ }
Review Comment:
Thank you @badalprasadsingh for the review. Added a note under "Unreleased
compatibility notes" in `releases.md`.
--
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]