This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 44f140473a Docs: Add note that referenced snapshots won't be removed
by expire_snapshots procedure (#8224)
44f140473a is described below
commit 44f140473ae429f38289358291421b75935a3457
Author: Manu Zhang <[email protected]>
AuthorDate: Thu Aug 17 00:01:44 2023 +0800
Docs: Add note that referenced snapshots won't be removed by
expire_snapshots procedure (#8224)
---
docs/spark-procedures.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/spark-procedures.md b/docs/spark-procedures.md
index debf393a30..c4a1a41f21 100644
--- a/docs/spark-procedures.md
+++ b/docs/spark-procedures.md
@@ -246,6 +246,7 @@ the `expire_snapshots` procedure will never remove files
which are still require
| `snapshot_ids` | | array of long | Array of snapshot IDs to expire. |
If `older_than` and `retain_last` are omitted, the table's [expiration
properties](../configuration/#table-behavior-properties) will be used.
+Snapshots that are still referenced by branches or tags won't be removed. By
default, branches and tags never expire, but their retention policy can be
changed with the table property `history.expire.max-ref-age-ms`. The `main`
branch never expires.
#### Output