badalprasadsingh opened a new pull request, #1641: URL: https://github.com/apache/iceberg-go/pull/1641
## Description Fixes #1639 `UpdateSpec.partitionField` failed to reuse a previously-removed partition field's ID when the field was re-added, allocating a brand-new ID instead. This violates the Iceberg field-ID identity contract for format v2+ tables. This PR contains 2 fixes: 1. Re-adding without an explicit name 2. Format-version gating (adding support for V2+ tables) ## Backward Compatibility No impact on existing tables. This code runs only while building a new partition-spec update. ## Tests Added `TestUpdateSpecReuseHistoricalFieldID` covering all necessary edge-cases. -- 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]
