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

   ### Description
   
   Fixes #1903.
   
   Reject schema updates that either move a field relative to a column already 
staged for deletion or delete a column already referenced as a move target. 
This prevents `moveFields` from silently omitting the moved field when the 
target is absent from the resulting schema.
   
   The regression test covers both operation orders and both `MoveBefore` and 
`MoveAfter`.
   
   ### Testing
   
   - `go test ./table -run 
'TestMoveRelativeToDeletedColumnRejected|TestMoveColumn|TestDeleteColumn|TestChainedOperations'
 -count=1`
   - `make test`
   - `make test-assert`
   - `make test-race`
   - `make lint`
   - `go build ./...`
   


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