RESTTableOperations does not support table metadata swap like others TableOperations did #12134
Open
1 of 3 tasks
Labels
bug
Something isn't working
Apache Iceberg version
1.7.1 (latest release)
Query engine
Spark
Please describe the bug 🐞
Before migrate to REST catalog, we rely on following
TableOperations.commit
API call to swap table metadata atomically.However this is no longer working in REST based catalog, I suspect it might relate to how update type was modeled here where
metadata.changes()
return empty when read from parser and end up with empty changeset in update table POST call.This can be reproduced by adding following test case in org.apache.iceberg.catalog.CatalogTests.java where all other catalogs are functioning as expected but only failure for TestRESTCatalog
repro:
Willingness to contribute
The text was updated successfully, but these errors were encountered: