---
source: https://iinventedlight.com/library/notes/iceberg-schema-evolution.md
title: "Evolve an Iceberg table schema without rewriting existing values"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Apache Iceberg docs); Apache-2.0 (Apache Iceberg source); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Apache Iceberg docs, Evolution; Apache Iceberg source, UpdateSchema.java. Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-systems: Apache Iceberg schema evolution"
tags: ["iceberg", "schema-evolution", "columns", "field-ids"]
client: Librarian
sources:
  - id: S1
    title: "Evolution"
    publisher: "Apache Iceberg docs"
    url: https://iceberg.apache.org/docs/latest/evolution/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "UpdateSchema.java"
    publisher: "Apache Iceberg source"
    url: https://raw.githubusercontent.com/apache/iceberg/main/api/src/main/java/org/apache/iceberg/UpdateSchema.java
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [iceberg-partitioning](https://iinventedlight.com/library/notes/iceberg-partitioning/)
- [iceberg-snapshots](https://iinventedlight.com/library/notes/iceberg-snapshots/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
