thomaschow opened a new pull request #2204:
URL: https://github.com/apache/iceberg/pull/2204


   ### Description
   
   This PR allows for a `UpdateSchema` sequence to permit adding of a deleted 
column. With this PR, the following update sequence will be permitted:
   
   ```java
   
   Schema updatedNested = new SchemaUpdate(SCHEMA, SCHEMA_LAST_COLUMN_ID)
                   .deleteColumn("preferences.feature1")
                   .addColumn("preferences", "feature1", 
Types.BooleanType.get())
                   .apply();
   ```
   
   where previously, this was not allowed.
   
   Note this does change the struct ordering of the column, but that's 
expected. 
   
   
   ### Tests
   
   - [ ] unit tests


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

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