Zoltán Borók-Nagy created IMPALA-11362:
------------------------------------------

             Summary: Add expire snapshots functionality for Iceberg tables
                 Key: IMPALA-11362
                 URL: https://issues.apache.org/jira/browse/IMPALA-11362
             Project: IMPALA
          Issue Type: New Feature
          Components: Frontend
            Reporter: Zoltán Borók-Nagy


We want to support the following table maintenance features:

{noformat}
ALTER TABLE test_table EXECUTE expire_snapshots("older_than", <timestamp-expr>);
ALTER TABLE test_table EXECUTE expire_snapshots("retain_last", 
<integer-literal>);
ALTER TABLE test_table EXECUTE expire_snapshots("snapshot_id", 
<integer-literal>);
{noformat}

They would invoke the corresponding Iceberg APIs, see:
https://github.com/apache/iceberg/blob/master/api/src/main/java/org/apache/iceberg/actions/ExpireSnapshots.java



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to