Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11362

Add expire snapshots functionality for Iceberg tables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • Impala 4.1.0
    • Impala 4.2.0
    • Frontend
    • ghx-label-12

    Description

      We want to support the following table maintenance features:

      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>);
      

      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

      Attachments

        Issue Links

          Activity

            People

              tmate Tamas Mate
              boroknagyz Zoltán Borók-Nagy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: