Upgrade Iceberg V1 tables to V2

If you have existing version 1 (V1) Apache Iceberg tables, you must upgrade them using your query engine before using them with the Apache Iceberg REST catalog endpoint. For more information, see Alter a table.

To upgrade an Iceberg V1 table to V2, run the following Spark SQL command or use similar engine operations:

ALTER TABLE catalog.schema.table SET TBLPROPERTIES ('format-version'='2');