Repository navigation
Antalya 26.8 Backport of #117198 - Iceberg variant type - #2677
Conversation
Iceberg variant type Conflicts committed as-is; the next commit resolves them: - ci/docker/integration/runner/Dockerfile (both modified) - src/Storages/ObjectStorage/DataLakes/Iceberg/IcebergMetadata.cpp (both modified)
Took the PR's JDK and Spark 4.0 changes while keeping antalya-26.8's extra `software-properties-common` package and its existing `format_version >= 2` comment.
|
Backporter: cherry-pick conflicts resolved by AI Conflicted files:
Commits:
|
This comment was marked as outdated.
This comment was marked as outdated.
|
Backporter: CI failures at 33604e3 Failed checks:
Unrelated to this PR: The export-partition Iceberg tests fail because the 26.8.34 bump (commit 64c27aa) now requires a grant to override named collections, and that test's user config doesn't have it; the PR touches neither.
|
CI triage for #2677 (Iceberg variant type backport)5 red checks — 1 PR-related (feature), 1 PR process (DCO), the rest not caused by this PR.
(The red PR check is just the aggregate gate reflecting the above.) 🟥 The 4 variant tests — this is the real problem: a missing prerequisite
Evidence:
Suggested fix: backport ClickHouse#117106 ("Support dynamic type in parquet reader") onto 🟩 The 21
|
…arquet reader Prerequisite for the Iceberg `variant` type backport: without the Parquet variant reader, Spark-written variant columns are read as `Tuple(value String, metadata String)` instead of `Dynamic`. The new `input_format_parquet_detect_variant_by_structure` setting is recorded in the `26.8.34.20001.altinityantalya` settings history block. Only the variant fixtures are added to the exclude list of `00900_long_parquet_load_2`. Related: ClickHouse#117106 Related: #2677 (comment) Signed-off-by: Andrey Zvonov <[email protected]>
…eCluster`
`IcebergS3`/`IcebergAzure`/`IcebergLocal` tables are created as
`StorageObjectStorageCluster`, which fell back to the `IStorage` default
and rejected `Dynamic` columns at `CREATE TABLE` with `ILLEGAL_COLUMN`
("doesn't support columns with dynamic structure"). This broke
`test_storage_iceberg_with_spark/test_variant_type.py`.
Related: #2677 (comment)
Signed-off-by: Andrey Zvonov <[email protected]>
CI triage for #2677 (head
|
Backport of ClickHouse#117198 (Iceberg
varianttype).This PR also includes the backport of its prerequisite ClickHouse#117106 ("Support dynamic type in parquet reader"), without which Spark-written variant columns are read as
Tuple(value String, metadata String)instead ofDynamic. The newinput_format_parquet_detect_variant_by_structuresetting is recorded in the26.8.34.20001.altinityantalyasettings history block.It also forwards
supportsColumnsWithDynamicStructureinStorageObjectStorageCluster: Antalya createsIcebergS3/IcebergAzure/IcebergLocaltables through it, and the missing override madeCREATE TABLEwith aDynamiccolumn fail withILLEGAL_COLUMN.Related: ClickHouse#117106
Related: #2677 (comment)
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support iceberg variant type (ClickHouse#117106, ClickHouse#117198 by @scanhex12)
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: