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

   ## What
   - Rename the old v1 `void` field before reusing its name.
   
   ## Why
   - In v1, dropped fields stay in the spec as `void` fields. Renaming another 
field to that name should keep the requested name on the active field.
   
   ## Implementation
   - Move the `void` field to `<name>_<field-id>`, then apply the requested 
rename.
   - Add a regression test for renaming `region` to the tombstone name 
`country`.
   
   ## References
   - [Iceberg spec: partition 
evolution](https://iceberg.apache.org/spec/#partition-evolution)
   - [Java 
BaseUpdatePartitionSpec.renameField](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/BaseUpdatePartitionSpec.java#L1764-L1773)
   


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