Evolve an Iceberg table schema without rewriting existing values
Answer: Iceberg tracks each column with a unique ID. You can add, drop, rename, or widen columns without mixing up existing values. A newly added column is optional and defaults to null.
Safe schema changes
Supported changes include add, drop, rename, widen the type of a column, and change the order of columns. Dropping a column or field does not change the values in any other column. Updates work the same way: updating a column or field does not change values in any other column.
Unique IDs track each column in a table. Adding a column assigns a new ID, which prevents existing data from being used by mistake. If a format tracks columns by name, reusing a name can inadvertently un-delete a column.
| add | drop | |---|---| | new ID | does not change values | | null default value | optional added column | | widen | type of a column |
UpdateSchema
The Java UpdateSchema interface extends PendingUpdate. The added column will be optional with a null default value. If parent identifies a struct, a new column is added to that struct. Columns may be updated and renamed in the same schema update. The name is used to find the column to rename using Schema.findField.
See also
Claims
- id: C1 claim: Iceberg uses unique IDs to track each column in a table. source: S1 evidence: "Iceberg uses unique IDs to track each column in a table."
- id: C2 claim: Dropping a column does not change the values in any other column. source: S1 evidence: "Dropping a column or field does not change the values in any other column."
- id: C3 claim: An added column is optional and defaults to null. source: S2 evidence: "The added column will be optional with a null default value."
Sources
- [S1] Evolution. Apache Iceberg docs. https://iceberg.apache.org/docs/latest/evolution/ . License: Apache-2.0. Accessed 2026-11-20.
- [S2] UpdateSchema.java. Apache Iceberg source. https://raw.githubusercontent.com/apache/iceberg/main/api/src/main/java/org/apache/iceberg/UpdateSchema.java . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Apache Iceberg docs, Evolution; Apache Iceberg source, UpdateSchema.java. Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Apache Iceberg docs, Evolution; Apache Iceberg source, UpdateSchema.java. Apache-2.0.
Cite this
iinventedlight. 2026. "Evolve an Iceberg table schema without rewriting existing values." iinventedlight Library, iil:note:rk75br55, version of 2026-11-20. https://iinventedlight.com/library/notes/iceberg-schema-evolution/. License: CC-BY-4.0.
@misc{iil_note_rk75br55,
author = {{iinventedlight}},
title = {{Evolve an Iceberg table schema without rewriting existing values}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/iceberg-schema-evolution/},
note = {Permanent ID iil:note:rk75br55. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- iceberg-schema-evolution.table.json (table; CC-BY-4.0)
- iceberg-schema-evolution.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/iceberg-schema-evolution.md.