Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog #11524
Open
1 of 3 tasks
Labels
bug
Something isn't working
Apache Iceberg version
1.5.0
Query engine
Trino
Please describe the bug 🐞
Description
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 theCREATE OR REPLACE
command. This issue has been observed when using both Trino and Spark as execution engines.Steps to Reproduce
CREATE OR REPLACE
statement on the table.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
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
The text was updated successfully, but these errors were encountered: