Repository navigation
feat(core): expose remove_snapshots at Transaction API - #884
TennyZhuang wants to merge 4 commits into
Conversation
|
I am not sure if this is a server issue or a client issue, more research is needed. If only one snapshot_id is passed, it can be successful. |
|
This is a hard limit in the server implementation. I am not sure about the reason for this design, as I am not familiar enough with the specification of iceberg. |
Looks like it depends on the catalog. For list of snapshots remove, it will apply to metadata at the client and also append multiple changes (one per removed snapshot). |
Looks like this hard limit will affect the remove_snapshots implementation. e.g. we must separate multiple remove snapshot id into multiple remove snapshot requests rather than ids in one remove snapshot request. cc @Fokko |
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions. |
|
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |


A part of #743
For consistency with spark-procedure, may a better name is
expire_snapshots. Before we support the entire list of parameters, aremove_snapshotspublic method that only supports specified snapshot_ids is still useful. We can consider deprecating this API in the future.