1fanwang commented on PR #4020: URL: https://github.com/apache/iceberg-python/pull/4020#issuecomment-7288093066
> When `ref_name` is passed, is the intent still to move main, or should the retention be looked up from that ref instead? It still moves main. The named branch or tag supplies the snapshot ID. Looking up retention on that ref would copy its policy onto main; the update keeps main's own policy instead. https://github.com/apache/iceberg-python/blob/799acd2f7ba5c92a2f48e3c0f2fc2d6189065f75/pyiceberg/table/update/snapshot.py#L1254-L1270 -- 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]
