Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
ghx-label-11
Description
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
ALTER TABLE ice_t EXECUTE ROLLBACK('2022-05-12 00:00:00')
Rollback to a specific snapshot ID
ALTER TABLE ice_t EXECUTE ROLLBACK(1111);
However, to revert a rollback we might need to be able to change the table's metadata_location property (like HIVE-26203).
Attachments
Issue Links
- is depended upon by
-
IMPALA-11596 Document EXECUTE ROLLBACK functionality
- Closed
- relates to
-
IMPALA-11999 TestIcebergTable.test_execute_rollback fails in Ozone build
- Resolved