feat(iceberg): add Apache Iceberg provider#740
Merged
fhussonnois merged 7 commits intomainfrom Apr 4, 2026
Merged
Conversation
Implements a new provider for managing Apache Iceberg tables and namespaces declaratively using Jikkou's Resource-as-Code model. Resources: - IcebergNamespace: CRUD for catalog namespaces with property management - IcebergTable: full lifecycle including schema evolution, partition spec, sort order, location, and table properties Schema evolution features: - Column additions, updates (type promotion, doc, required), and deletions - Two-pass column rename detection via previousName field (preserves field IDs) - Incompatible change gating via iceberg.jikkou.io/allow-incompatible-changes annotation - Partition spec evolution and sort order replacement Catalog backends supported: - REST, Hive, JDBC, AWS Glue, Project Nessie, Hadoop (configured via catalogType + optional catalogProperties passthrough) Safety controls: - delete-orphans: opt-in to drop tables absent from spec - delete-orphan-columns: opt-in to drop columns absent from spec - delete-purge: opt-in to purge data files on table drop - tables.deletion.exclude: regex patterns to protect tables from deletion
Covers configuration (all catalog types: REST, Hive, Glue, Nessie), IcebergNamespace and IcebergTable resource specifications, column type reference, partition transforms, schema evolution ordering, safe rename via previousName, and the allow-incompatible-changes annotation.
Contributor
Security Scan ResultsVulnerabilities detected: Scanned by Trivy |
Add IcebergView as a third resource kind in the Iceberg provider, enabling declarative management of Iceberg views via the ViewCatalog API. Key design decisions: - Schema is read-only (engine-inferred), never part of change detection - Change detection covers queries, defaultNamespace, defaultCatalog, properties - View updates use replaceVersion() with the live schema preserved - Field named "queries" (maps to Iceberg "representations" / withQuery API) - Catalogs that don't implement ViewCatalog gracefully return empty lists New resource: IcebergView (iceberg.jikkou.io/v1beta1) - singular: icebergview, plural: icebergviews, shortName: ivw - Verbs: LIST, CREATE, UPDATE, DELETE, GET, APPLY
Add view create/update/delete resource files and integrate them into the demo README for both JDBC and Nessie catalog providers.
Add missing view-related documentation across the Iceberg provider pages: view-location annotation, view controller settings, resource summary table, and updated provider description.
33ef067 to
b26d093
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
previousName), partition spec evolution, sort order replacement, and table property managementdelete-orphans,delete-orphan-columns,delete-purge, andtables.deletion.excluderegex patternsResources
Test plan
demo/iceberg/)