Skip to content

Commit d2d5538

Browse files
authored
Rename the Snapshot Retention policy (#1284)
* Rename the Snapshot Retention policy * Resolve comments * Resolve comments --------- Co-authored-by: Yufei Gu <yufei.apache.org>
1 parent 8bba06b commit d2d5538

File tree

1 file changed

+4
-4
lines changed
  • polaris-core/src/main/resources/schemas/policies/system/snapshot-expiry

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"license": "Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)",
3-
"$id": "https://polaris.apache.org/schemas/policies/system/snapshot-retention/2025-02-03.json",
4-
"title": "Snapshot Retention Policy",
5-
"description": "Inheritable Polaris policy schema for Iceberg table snapshot retention",
3+
"$id": "https://polaris.apache.org/schemas/policies/system/snapshot-expiry/2025-02-03.json",
4+
"title": "Snapshot Expiry Policy",
5+
"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.",
66
"type": "object",
77
"properties": {
88
"version": {
@@ -12,7 +12,7 @@
1212
},
1313
"enable": {
1414
"type": "boolean",
15-
"description": "Enable or disable snapshot retention."
15+
"description": "Enable or disable snapshot expiry."
1616
},
1717
"config": {
1818
"type": "object",

0 commit comments

Comments
 (0)