Known issues and limitations in Iceberg

Known issues, limitations, and unsupported features for Iceberg in Anywhere Cloud identify impacts on deployment and operational workflows and provide available workarounds.

Known issues in Iceberg

Known issues and technical limitations for Iceberg are addressed in Anywhere Cloud.

LAKE-715: WAP snapshot isolation is broken for Iceberg v3 tables when deletion vectors are used
When Write-Audit-Publish (WAP) is enabled on an Iceberg v3 table that uses deletion vectors, WAP snapshot isolation does not behave as expected.
  • WAP APPEND (INSERT): After you stage a WAP INSERT, reading the table on the main branch without cherry-picking can incorrectly include staged rows. The main branch should not expose data from a staged WAP snapshot.
  • WAP DELETE with write.delete.mode=merge-on-read: The staged WAP snapshot does not appear in <table>.snapshots when filtered by summary['wap.id']. SELECT snapshot_id FROM <table>.snapshots WHERE summary['wap.id'] = '<wap-id>' returns 0 rows. Therefore, a subsequent cherrypick_snapshot call cannot run.

This issue affects Spark with Iceberg when WAP is used through spark.wap.id on v3 tables where deletion vectors are in use.

Do not use WAP on v3 Iceberg tables that use deletion vectors. WAP is opt-in (write.wap.enabled=true at the table level and spark.wap.id at the session level); leave WAP disabled on these tables until a fix is available.
LAKE-730: NullPointerException when inserting VARIANT data into ORC-backed Iceberg v3 tables
Writing VARIANT data into an Apache Iceberg v3 table configured with ORC storage format (write.format.default='orc') fails with a NullPointerException during executor task execution. The Iceberg v3 VARIANT data type is currently supported for Parquet-backed tables only. Attempting to use VARIANT with ORC is unsupported and fails.
Use Parquet as the default write format for Iceberg v3 tables that include VARIANT columns. Set write.format.default to parquet.
LAKE-733: Schema evolution from VOID (unknown) to a concrete type fails on Iceberg v3 tables
For Iceberg v3 tables, Spark maps VOID columns to the Iceberg unknown type at create time. ALTER TABLE … ALTER COLUMN … TYPE … to promote an unknown column (created from VOID) to a concrete type such as STRING is not supported. The statement fails with an IllegalArgumentException: Unsupported table change: Cannot change column type: payload: unknown -> string error. The failure occurs before any data or table metadata is modified.
Define concrete column types when you create the table, or add a new column with the target type. Do not create VOID placeholder columns that you plan to evolve with ALTER TABLE.