[
https://issues.apache.org/jira/browse/HIVE-26228?focusedWorklogId=769665&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769665
]
ASF GitHub Bot logged work on HIVE-26228:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/May/22 13:59
Start Date: 12/May/22 13:59
Worklog Time Spent: 10m
Work Description: pvary commented on PR #3287:
URL: https://github.com/apache/hive/pull/3287#issuecomment-1125031319
@lcspinter: Could we use a timestamp in the same format as we receive it
back from the metadata table query, like `select * from
default.table_to_rollback.history`?
Issue Time Tracking
-------------------
Worklog Id: (was: 769665)
Time Spent: 20m (was: 10m)
> Implement Iceberg table rollback feature
> ----------------------------------------
>
> Key: HIVE-26228
> URL: https://issues.apache.org/jira/browse/HIVE-26228
> Project: Hive
> Issue Type: New Feature
> Reporter: László Pintér
> Assignee: László Pintér
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> We should allow rolling back iceberg table's data to the state at an older
> table snapshot.
> Rollback to the last snapshot before a specific timestamp
> {code:java}
> ALTER TABLE ice_t EXECUTE ROLLBACK('1231244334324');
> {code}
> Rollback to a specific snapshot ID
> {code:java}
> ALTER TABLE ice_t EXECUTE ROLLBACK(1111);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)