Rollback/Time Travel
If something goes wrong, you can easily undo changes by assigning the branch head to a prior commit or tag. Rollback happens immediately, since Arctic simply moves its commit pointer to refer to a prior state of the lakehouse.
You can use the ALTER BRANCH
command to roll back your catalog to a prior commit or tag. For example:
ALTER BRANCH "main"
ASSIGN COMMIT "9b24dc57c40bdb60442aeaed0c05db3ecdb9db71";
note
To learn more about the ALTER BRANCH
command, visit the SQL Reference.
warning
Rollback is an irreversible operation. Once you roll back to a prior commit or tag, all future states of data will be unreachable.