You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2022/08/08 13:39:00 UTC

[jira] [Created] (IMPALA-11482) Implement Iceberg table rollback feature

Zoltán Borók-Nagy created IMPALA-11482:
------------------------------------------

             Summary: Implement Iceberg table rollback feature
                 Key: IMPALA-11482
                 URL: https://issues.apache.org/jira/browse/IMPALA-11482
             Project: IMPALA
          Issue Type: New Feature
          Components: Frontend
            Reporter: Zoltán Borók-Nagy


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}
ALTER TABLE ice_t EXECUTE ROLLBACK('2022-05-12 00:00:00')
{code}

Rollback to a specific snapshot ID
{code}
 ALTER TABLE ice_t EXECUTE ROLLBACK(1111); 
{code}

However, to revert a rollback we might need to be able to change the table's metadata_location property (like HIVE-26203).



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