Repository navigation
Backport #99085 to 26.3: setting to control type mismatch behavior for variant and dynamic - #106864
Merged
Merged
Conversation
…r variant and dynamic
robot-clickhouse
force-pushed
the
backport/26.3/99085
branch
from
June 9, 2026 17:14
9d51271 to
b7834be
Compare
Contributor
|
Workflow [BackportPR], commit [ef725ce] Summary: ✅ |
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]>
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.
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
26.3.14.33