This is an automated email from the ASF dual-hosted git repository.

emaynard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new d2d55384c Rename the Snapshot Retention policy (#1284)
d2d55384c is described below

commit d2d55384cd5bb2878d450e2537d39eabff8bd8a1
Author: Yufei Gu <yu...@apache.org>
AuthorDate: Mon Apr 21 18:00:49 2025 -0700

    Rename the Snapshot Retention policy (#1284)
    
    * Rename the Snapshot Retention policy
    
    * Resolve comments
    
    * Resolve comments
    
    ---------
    
    Co-authored-by: Yufei Gu <yufei.apache.org>
---
 .../{snapshot-retention => snapshot-expiry}/2025-02-03.json       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/polaris-core/src/main/resources/schemas/policies/system/snapshot-retention/2025-02-03.json
 
b/polaris-core/src/main/resources/schemas/policies/system/snapshot-expiry/2025-02-03.json
similarity index 64%
rename from 
polaris-core/src/main/resources/schemas/policies/system/snapshot-retention/2025-02-03.json
rename to 
polaris-core/src/main/resources/schemas/policies/system/snapshot-expiry/2025-02-03.json
index dfd79e197..488e45b31 100644
--- 
a/polaris-core/src/main/resources/schemas/policies/system/snapshot-retention/2025-02-03.json
+++ 
b/polaris-core/src/main/resources/schemas/policies/system/snapshot-expiry/2025-02-03.json
@@ -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": {
@@ -12,7 +12,7 @@
     },
     "enable": {
       "type": "boolean",
-      "description": "Enable or disable snapshot retention."
+      "description": "Enable or disable snapshot expiry."
     },
     "config": {
       "type": "object",

Reply via email to