[ 
https://issues.apache.org/jira/browse/HIVE-27789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783446#comment-17783446
 ] 

Ayush Saxena commented on HIVE-27789:
-------------------------------------

Committed to master.
Thanx [~dkuzmenko] & [~zhangbutao] for the reviews!!!

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