[ 
https://issues.apache.org/jira/browse/HIVE-27789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena resolved HIVE-27789.
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Iceberg: Add a way to expire snapshots with retain last
> -------------------------------------------------------
>
>                 Key: HIVE-27789
>                 URL: https://issues.apache.org/jira/browse/HIVE-27789
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> Expire snapshots can be performed on iceberg table with retain last param, 
> add a command for it.
> ```
> ALTER TABLE <tbl> EXECUTE EXPIRE_SNAPSHOT RETAIN LAST 5;
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to