You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "nastra (via GitHub)" <gi...@apache.org> on 2023/08/16 13:25:31 UTC
[GitHub] [iceberg] nastra commented on a diff in pull request #8224: Docs: Add note that referenced snapshots won't be removed by expire_snapshots procedure
nastra commented on code in PR #8224:
URL: https://github.com/apache/iceberg/pull/8224#discussion_r1295895510
##########
docs/spark-procedures.md:
##########
@@ -210,6 +210,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, which can be changed with table properties `history.expire.max-ref-age-ms`.
Review Comment:
```suggestion
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.
```
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org