Skip to content

Backport #99085 to 26.3: setting to control type mismatch behavior for variant and dynamic - #106864

Merged
bharatnc merged 2 commits into
26.3from
backport/26.3/99085
Jun 17, 2026
Merged

bharatnc merged 2 commits into
26.3from
backport/26.3/99085

Conversation

@robot-ch-test-poll1

@robot-ch-test-poll1 robot-ch-test-poll1 commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #99085
Cherry-pick pull-request #106863

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.3.14.33

@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Jun 9, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [ef725ce]

Summary: ✅

@bharatnc
bharatnc merged commit 8701f13 into 26.3 Jun 17, 2026
34 checks passed
@bharatnc
bharatnc deleted the backport/26.3/99085 branch June 17, 2026 12:14
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
Dependency of the ClickHouse#100939 backport (e1f3ced0221): its code reads the setting
variant_throw_on_type_mismatch that this change adds, so e1f3ced0221 does not compile
without it (found by the candidate build: FunctionVariantAdaptor.cpp, undeclared
Setting::variant_throw_on_type_mismatch). The 26.3 branch merged this backport on 2026-06-17,
before the ClickHouse#100939 backport. The default (true) keeps the behaviour (SettingsChangesHistory:
true -> true): a function applied to a Variant/Dynamic row of an incompatible type throws;
setting it to false returns NULL instead. Upstream patch unchanged, with its test
04101_variant_dynamic_type_mismatch_settings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants