Skip to main content

Apache Iceberg troubleshooting runbooks

These runbooks cover the problems people hit most with Apache Iceberg tables. They are grouped by where the problem shows up: writing to a table, maintaining it, or reading it from an engine.

Each page explains one mechanism across the engines that share it, such as Spark, Trino and PyIceberg, and lists the exact message each version prints. Every page is backed by a lab in the docs repository, which was run before the page was written.

Ingestion and writes​

  • Iceberg schema evolution errors: changing a column's data type, missing and extra columns (and Spark's mergeSchema write operation), renaming or reordering columns, required (NOT NULL) columns, column names that differ only in case. With the messages from Spark 3.3 to 4.0, PyIceberg and Trino.

Table maintenance​

Query engines​

  • Spark cannot find Iceberg: the runtime jar, the catalog and the SQL extensions, with the error each missing piece gives on Spark 3.3 to 4.0, and how to see what a session loaded.