c-thiel opened a new pull request, #1896:
URL: https://github.com/apache/iceberg-rust/pull/1896

   ## Which issue does this PR close?
   
   Fixes remove_ref() to preserve snapshot log when removing MainBranch 
reference during CREATE OR REPLACE TABLE operations. Previously cleared entire 
snapshot history, causing testReplaceTableKeepsSnapshotLog RCK test to fail.
   
   Related Go Issue: https://github.com/apache/iceberg-go/pull/638
   
   Java also does not clear the log:
   
https://github.com/apache/iceberg/blob/16e84356dae1975fa04d8c3ecce30a90df18ca9f/core/src/main/java/org/apache/iceberg/TableMetadata.java#L1342-L1352
   
   
   ## What changes are included in this PR?
   
   - Do not clear `snapshot_log` if ref to `main` branch is removed
   
   ## Are these changes tested?
   
   Yes


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