Skip to content

Rename the Snapshot Retention policy #1284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"license": "Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)",
"$id": "https://polaris.apache.org/schemas/policies/system/snapshot-retention/2025-02-03.json",
"title": "Snapshot Retention Policy",
"description": "Inheritable Polaris policy schema for Iceberg table snapshot retention",
"$id": "https://polaris.apache.org/schemas/policies/system/snapshot-expiry/2025-02-03.json",
"title": "Snapshot Expiry Policy",
"description": "Inheritable Polaris policy schema for managing Iceberg table snapshot expiry. This policy allows a table (or its parent) to indicate that snapshot expiry is enabled. It also defines how snapshots should be expired. Engines or clients can use this policy to safely remove expired snapshots and delete associated files, helping maintain a clean and efficient table state.",
"type": "object",
"properties": {
"version": {
Expand All @@ -12,7 +12,7 @@
},
"enable": {
"type": "boolean",
"description": "Enable or disable snapshot retention."
"description": "Enable or disable snapshot expiry."
},
"config": {
"type": "object",
Expand Down