You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog #11524
When using the CREATE OR REPLACE command in Apache Iceberg with the REST catalog after a table has already been created, it’s not possible to revert to a version prior to the CREATE OR REPLACE command. This issue has been observed when using both Trino and Spark as execution engines.
Steps to Reproduce
Set up a table using the REST catalog.
Create an Iceberg table and add some data, making several commits.
Execute a CREATE OR REPLACE statement on the table.
Attempt to roll back to a version from before the CREATE OR REPLACE command.
Expected Behavior
It should be possible to roll back to any previous version of the table, including versions created before the CREATE OR REPLACE operation.
Actual Behavior
After the CREATE OR REPLACE operation, all previous versions from before this command are inaccessible, blocking rollbacks to earlier states.
Environment
Apache Iceberg Version: 1.5.0
Execution Engines Tested: Trino-464, Spark 3.5.1
Catalog Type: REST catalog
Storage: S3-compatible
Additional Context
This bug occurs specifically when using the REST catalog. The issue persists across both Trino and Spark, suggesting it may be specific to how the REST catalog handles versioning with CREATE OR REPLACE.
Willingness to contribute
I would be willing to contribute a fix for this bug with guidance from the Iceberg community
I can contribute a fix for this bug independently
I cannot contribute a fix for this bug at this time
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
Activity
alonahmias commentedon Dec 4, 2024
Hey, i have encountered this issue too.
ebyhr commentedon Mar 28, 2025
@ofirNakdai @alonahmias I can't reproduce the issue with Trino 474 (Iceberg 1.8.1). Could you try the latest version?
mayankvadariya commentedon Mar 28, 2025
@ofirNakdai are you possibly hitting trinodb/trino#24056 ?
github-actions commentedon Sep 25, 2025
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
github-actions commentedon Oct 9, 2025
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'