Skip to content

Commit

Permalink
Document schema evolution for Iceberg
Browse files Browse the repository at this point in the history
  • Loading branch information
findinpath authored and ebyhr committed Nov 18, 2023
1 parent 152e7a5 commit 2f5fb83
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/src/main/sphinx/connector/iceberg.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,16 @@ The {ref}`sql-schema-table-management` functionality includes support for:
#### Schema evolution

Iceberg supports schema evolution, with safe column add, drop, reorder, and
rename operations, including in nested structures. Table partitioning can also
be changed and the connector can still query data created before the
partitioning change.
rename operations, including in nested structures.

Iceberg supports updating column types only for widening operations:

- `INTEGER` to `BIGINT`
- `REAL` to `DOUBLE`
- `DECIMAL(p,s)` to `DECIMAL(p2,s)` when `p2` > `p` (scale cannot change)

Partitioning can also be changed and the connector can still query data
created before the partitioning change.

(iceberg-alter-table-execute)=

Expand Down

0 comments on commit 2f5fb83

Please sign in to comment.