You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tamas Mate (Jira)" <ji...@apache.org> on 2022/08/11 11:41:00 UTC
[jira] [Resolved] (IMPALA-11362) Add expire snapshots functionality for Iceberg tables
[ https://issues.apache.org/jira/browse/IMPALA-11362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Mate resolved IMPALA-11362.
---------------------------------
Resolution: Resolved
> 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
> Affects Versions: Impala 4.1.0
> Reporter: Zoltán Borók-Nagy
> Assignee: Tamas Mate
> Priority: Major
> Labels: impala-iceberg
>
> 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.10#820010)