fresh-borzoni opened a new pull request, #2593: URL: https://github.com/apache/fluss/pull/2593
## Purpose
Linked issue: close #2592
Iceberg counterpart of #2128 / PR #2189 (Paimon). Sub-task of #2067.
`IcebergLakeCatalog.alterTable()` throws `UnsupportedOperationException`
on schema changes. This PR adds ADD COLUMN support for Iceberg-enabled tables.
## Brief change log
- **IcebergLakeCatalog**: Implement `AddColumn` handling via Iceberg's
`UpdateSchema` API (`addColumn` + `moveBefore(__bucket)`)
- **IcebergLakeCatalog**: 3-way schema compatibility check for crash
recovery idempotency (matching Paimon's pattern)
- **IcebergLakeCatalog**: Recursive `typesEqualIgnoringIds()` for complex
types (Map/Array/Struct) — Iceberg reassigns field IDs on table creation,
breaking `Type.equals()`
- **IcebergLakeCatalogTest**: 7 new unit tests (happy path, error cases,
idempotency, complex types)
- **IcebergSchemaEvolutionITCase**: 3 new e2e integration tests (log
table, PK table, complex types)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
