Shruthirdy commented on code in PR #2475: URL: https://github.com/apache/iceberg-go/pull/2475#discussion_r4541818199
########## website/src/releases.md: ########## @@ -42,6 +42,8 @@ Per-release notes (highlights, breaking changes, contributors) are published on ### Unreleased compatibility notes +- **Table creation rejects duplicate field IDs.** `CreateTable` and `NewMetadata` now return `ErrInvalidSchema` when two fields in the schema share an ID, including unset `0` or `-1` IDs, even for unpartitioned, unsorted tables. Before, the partition spec or sort order could bind to the wrong column. Callers should assign unique IDs (or let the schema be built with fresh IDs). This matches Java, whose `Schema` constructor rejects duplicate IDs. Review Comment: Thank you @laskoviymishka for reviewing, updated 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: [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]
