Skip to content

Fix a nested null map subcolumn of a Variant element ignoring the discriminators - #120099

Merged
alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:fix-variant-element-nested-null-map-119935
Sep 19, 2026
Merged

alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:fix-variant-element-nested-null-map-119935

Conversation

@groeneai

@groeneai groeneai commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fixed wrong results when reading the null subcolumn of a Nullable field of a Variant, Dynamic or JSON element, for example value.`Tuple(a Nullable(UInt32), b String)`.a.null. On rows holding a different alternative the subcolumn returned 0 although the field itself was NULL, so optimize_functions_to_subcolumns (enabled by default) rewriting IS NULL to that subcolumn silently dropped matching rows. Closes #119935.

Description

For a Variant/Dynamic/JSON element that is a tuple, the null map of a Nullable field of that element read 0 on every row holding a different alternative, although the field itself reads NULL there. optimize_functions_to_subcolumns is on by default and rewrites isNull(x) to x.null, so with rows a = 1, a = NULL and 'not a tuple' in one merged part:

SELECT count() FROM t WHERE value.`Tuple(a Nullable(UInt32), b String)`.a IS NULL;
-- 1, but 2 with optimize_functions_to_subcolumns = 0

SerializationVariantElement fills rows whose discriminator is not the element's with the result column's default. For the value read that default is NULL, so it is correct; a null map is a bare UInt8 whose default 0 means "not null", making it the one subcolumn whose absent value is not its default. Nothing could tell: createFromPath gives a creator only the selected subcolumn's type, column and serialization, where a null map looks like any UInt8.

So ISubcolumnCreator gains one defaulted virtual, specializeForSelectedSubcolumn, letting the Variant element creator learn the selection is a null map and write 1 for absent rows, as SerializationVariantElementNullMap already does for the top-level x.<Elem>.null. Nine of the ten creators inherit the no-op. Untouched: a Nullable-wrapped element, where absence is already NULL, and an Array/Map-wrapped map, whose absent [] is right.

Not a regression: 26.8.3.105 already returns 0 there; #112338 only removed a SIGSEGV on the sibling read, making the contradiction observable. The fixed path is the one where the extraction cannot express absence as NULL, i.e. allow_nullable_tuple_in_extracted_subcolumns = 0 - master's default today, and 26.3-26.8. After #119222 flips that default, master no longer reaches this path by default; the fix stays correct, orthogonal to it, and needed for released versions.

New test: 90 assertions, 23 wrong without the fix. 04652/04653 untouched and green.


Workflow [PR]
Sync PR [sync-upstream/pr/120099]

Version info

  • Merged into: 26.10.1.226-master (included in 26.10 and later)

groeneai and others added 3 commits September 14, 2026 15:45
…criminators

For a Variant/Dynamic/JSON element that is a tuple, the null map of a Nullable
field of that element returned 0 on every row holding a different alternative,
although the field itself reads NULL there. Since optimize_functions_to_subcolumns
is enabled by default and rewrites isNull(x) to x.null, a plain

    SELECT count() FROM t WHERE value.`Tuple(a Nullable(UInt32), b String)`.a IS NULL

silently dropped the matching rows: 1 instead of 2 on a three-row merged part.

SerializationVariantElement fills rows whose discriminator is not the element's
with the result column's default. For the value read that default IS NULL, so it
is correct; a null map is a bare UInt8 whose default 0 means "not null", which
makes it the one subcolumn whose value for an absent element is not its default.
Nothing on the path could distinguish the two: SerializationVariant::enumerate
Streams attaches one subcolumn creator per alternative, while the selection
happens per subcolumn beneath it, and ISerialization::createFromPath hands a
creator only the selected subcolumn's (serialization, type, column) - where a
null map's type is plain UInt8, indistinguishable from a genuine UInt8 element.
prev_type, which ClickHouse#112338 used to derive nullable_added_by_extraction, therefore
carries one bit too few for this case.

So ISubcolumnCreator gains one virtual with a default no-op,
specializeForSelectedSubcolumn, which names the selected substream to the
enclosing creators. VariantSubcolumnCreator uses it to learn that the selection
is a null map and then writes 1 for absent rows at all four read sites and in
both in-memory creator paths. SerializationVariantElementNullMap already does
exactly this for the top-level x.<Elem>.null, and cannot serve the nested case
because all three of its create() overloads discard prev and would throw away
the field's own on-disk null map. Nine of the ten creators inherit the no-op.
createFromPath and makeSubcolumnInfo also pass the true selected terminal, since
on the dynamically-resolved-descendant arm the leaf lives in the nested path and
path[prefix_len - 1] is only the prefix the dynamic type matched.

Two guards keep the change to the case where the null map is the only place the
information can live: the extraction must not have wrapped the element in
Nullable, where absence is already NULL, and the selection must still be a bare
UInt8, since an Array or Map below has already made it Array(UInt8), whose value
for an absent element is the correct default []. That leaves the fix orthogonal
to ClickHouse#119222, which flips allow_nullable_tuple_in_extracted_subcolumns to true.

No on-disk or format change: the same streams are requested and only the value
written into rows where the element is absent changes. This is not a regression -
released 26.8.3.105 already returns 0 there; our ClickHouse#112338 removed a SIGSEGV on the
sibling value read, which is what makes the contradiction observable and puts the
IS NULL rewrite on a completing path.

Closes: ClickHouse#119935

Co-Authored-By: Claude Opus 5 <[email protected]>
…rm the remaining fill

Review round 1.

The column overload of VariantSubcolumnCreator::create now expands the null map
with expandDataByMask and default value 1 instead of a hand-rolled loop. That is
ColumnNullable::expand's own idiom for the same semantic, it expands in place
rather than allocating a second column, and it restores the three size
validations the loop had dropped: a previous-column and mask pair that disagreed
returned PaddedPODArray padding bytes as null-map values, where the untouched
expand call raises a diagnosable LOGICAL_ERROR.

The regression test gains a pure Variant column added by ALTER TABLE ADD COLUMN,
in a compact and in a wide part, which reach the read that finds no
discriminators stream at all; and two rows asserting that
optimize_functions_to_subcolumns still rewrites IS NULL on this nested
subcolumn, so the two count forms cannot agree by both ceasing to exercise it.

The !state fill in SerializationDynamicElement mirrors the identical branch in
SerializationVariantElementNullMap; no SQL-reachable read of a nested null map
was found that reaches it.
…he in-memory branches

Review round 2.

`SerializationVariantElement::insertRowsForAbsentElement` reached
`IColumn::insertManyDefaults` for the per-row absent case introduced in the
previous round. That function begins with `reserve(size() + length)`, and
`ColumnTuple`, `ColumnNullable`, `ColumnMap` and `ColumnLowCardinality` do not
override it, so a tuple element paid a virtual `reserve` fanned out over every
field for every absent row, and one exact-size `PODArray` reallocation per leaf
field whenever capacity equalled size. The helper now takes the single-row fast
path `insertDefault`, which is what that site called before, and keeps
`insertManyDefaults` for the two bulk fills, where the single up-front reserve
is what is wanted.

The regression test gains two `ENGINE = Memory` cases. They are the only reads
that enter `DataTypeDynamic::getDynamicSubcolumnInfo`'s in-memory branches for a
type extracted from the shared variant and for a type no row holds: the
`MergeTree` cases that look equivalent go through
`SerializationDynamicElement`'s per-row decode instead, whose `insertDefault` of
the nullable-safe element type already yields `NULL`. Both branches returned 0
for an absent row before this change.

The `!state` fill in `SerializationDynamicElement` mirrors the identical branch
in `SerializationVariantElementNullMap`; no SQL-reachable read of a nested null
map was found that reaches it.

Co-Authored-By: Claude Opus 5 <[email protected]>
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-review-bot PR origin: review-bot finding on a groeneai PR labels Sep 14, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review over three rounds: an independent model (engine: codex; 3 findings in round 1,
1 in round 2, 1 in round 3) plus my own cold review of the resulting tree each round (7, then 3, then 2).
Every finding is adjudicated below; the fixed ones were fixed before this PR was opened.

Round 1

# Sev Finding Verdict Evidence / action
1 ⚠️ The absent-row null-map fill hand-rolls a mask expansion that expandDataByMask already performs, dropping its three size validations, so an inconsistent (data, mask) pair would return PaddedPODArray padding as null-map bytes instead of raising (SerializationVariantElement.cpp) AGREE, fixed Now expandDataByMask<UInt8>(..., /*inverted=*/true, /*default_value=*/1), the same idiom and default ColumnNullable::expand uses for a null map; in place, and the three checks are back
2 ⚠️ The fill for "no discriminators stream at all" had no reddening test case: the ALTER ... ADD COLUMN and ALTER ... MODIFY COLUMN rows in the test reach other branches AGREE, fixed Added a pure Variant column created by ALTER ... ADD COLUMN, and split the mutation arm so each of the two bulk fills is attributed to the case that reddens it
3 ⚠️ The test compares count() with and without optimize_functions_to_subcolumns but does not pin that the rewrite still fires, so it would go quiet if the rewrite were ever declined for this shape AGREE, fixed Added a query-tree oracle (EXPLAIN QUERY TREE run_passes = 1 filtered with LIKE) asserting the nested .null subcolumn appears with the setting on and does not with it off
4 💡 New comments spell function names as f() AGREE, fixed Rewritten as f, per the in-tree convention; the stale mention of insertDefault in a neighbouring comment was updated to the call the code now makes
5 💡 The !state fill in SerializationDynamicElement has no reachable read AGREE, disclosed Kept: it mirrors the identical branch in SerializationVariantElementNullMap, and dropping it would make that read return a short column rather than a wrong value. Stated in the commit message
6 💡 isUInt8(prev_type) and checkAndGetColumn<ColumnUInt8>(prev) guard the same condition differently, and one of them would accept a sparse-serialized UInt8 DISAGREE DataTypeVariant::supportsSparseSerialization is false and a Variant alternative uses its element type's default serialization, so no alternative is sparse-serialized; SerializationSparseNullMap is a SerializationNumber<UInt8>, so a .null read is a dense ColumnUInt8 either way. The column-level guard also fails closed. No reachable case, so no change
7 💡 The Closes: relationship is inside an HTML comment DISAGREE That comment block is the upstream pull request template's own shape, and its instruction is to fill one relationship line per issue; the visible auto-linking reference is in the changelog entry above

Round 2 (re-review of the resulting tree)

# Sev Finding Verdict Evidence / action
8 ⚠️ Routing the per-row absent-element case through insertManyDefaults(1) adds a reserve(size() + 1) per row to every existing Variant/Dynamic element read whose element type does not override insertManyDefaults (Tuple, Map, Nullable, LowCardinality), which ColumnTuple::reserve fans out over every field and whose leaves use PODArray::reserve_exact AGREE, fixed The per-row case calls insertDefault again; only the bulk fills go through insertManyDefaults, where the single up-front reserve is wanted. ColumnArray::insertManyDefaults avoids the same hazard for the same reason
9 ⚠️ Of the three in-memory branches of DataTypeDynamic::getDynamicSubcolumnInfo that the fix corrects, only one had a test row: the shared-variant creator and the absent-type fill had neither a case nor a mutation arm, and the two cases that resemble them are read-path cases that cannot reach them AGREE, fixed Added two ENGINE = Memory cases (Dynamic(max_types = 0), and a plain Dynamic holding no row of the requested type), each printing the value read and IS NULL beside the null map, plus one mutation arm per branch
10 💡 Literal class, function and SQL names in the comments this change adds are not wrapped in inline code AGREE, fixed Wrapped, per the in-tree convention that names comments explicitly; pre-existing comments in these files were left alone
11 💡 A commit message was missing its co-author trailer AGREE, fixed Added to the following commit; the convention in this repository is to add commits rather than amend

Round 3 (re-review of the resulting tree)

# Sev Finding Verdict Evidence / action
12 💡 Three explanatory comments in the new test misdescribe what they document AGREE, not fixed All three verified wrong and left as they are, since none touches an assertion and the test's oracles are unaffected. For the record: the two count() rows would also agree if the rewrite were declined, which is why the query-tree oracle beside them exists (the comment has it backwards, though it argues for keeping the oracle); the in-memory case reaches expandDataByMask, not IColumn::expand, because the selected subcolumn is a null map; and the method named in the JSON dynamic-path comment is getDynamicSubcolumnInfo

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are terminal
per finding.

Two things checked and deliberately not raised. The !make_nullable term in the new guard is
redundant with the bare UInt8 test for every shape I could construct; I kept it because it is the
semantically primary condition and it is what keeps this change orthogonal to #119222, and the
property it protects is asserted by the allow_nullable_tuple_in_extracted_subcolumns = 1 rows being
identical with and without this fix. The absent-value invariant is stated in three files, which is
deliberate: each site has a different reader, and the comment budget is met.

One clearance worth stating for a serialization change: no Native format update is owed. The change
adds no write path at all, requests exactly the same streams as before, and alters only the value
materialised into rows where the element is absent, so nothing the format specification describes
moves. Subcolumn extraction is a read, not a transmitted structure.

Session id: cron:clickhouse-review-slot-10:20260914-223500

@clickhouse-gh clickhouse-gh Bot closed this Sep 14, 2026
@clickhouse-gh clickhouse-gh Bot reopened this Sep 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [657a015]

Summary: ✅


AI Review

Summary

This PR fixes the case where a nested .null subcolumn under a Variant/Dynamic/JSON element used the default UInt8 value for rows where the element was absent, which made optimize_functions_to_subcolumns drop matching rows. I found no remaining correctness or safety issues in the current diff: the selected-leaf information is threaded through both exact and dynamically resolved subcolumn construction, the special handling stays narrowly scoped to bare UInt8 null maps, and the new stateless test covers the relevant read paths and controls.

Final Verdict

Status: ✅ Approve

LLVM Coverage Report

Measured on commit 657a015.

Metric Baseline Current Δ
Lines 89.10% 89.10% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 81.50% 81.50% +0.00%

Changed lines: Changed C/C++ lines covered: 171/174 (98.28%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 14, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, 100% on demand, no randomization needed: three rows (Tuple(a Nullable(UInt32), b String) with a=1, with a=NULL, then 'not a tuple') in one merged part, then SELECT count() FROM t WHERE value.\Tuple(a Nullable(UInt32), b String)`.a IS NULLreturns1instead of2, and the .a.nullsubcolumn returns0` on the row holding the other alternative.
b Root cause explained? SerializationVariantElement fills rows whose discriminator is not the element's with the result column's default. For the value read that default is NULL, so it is right; a null map is a bare UInt8 whose default 0 means "not null", so it is the one subcolumn whose absent value is not its default. ISerialization::createFromPath hands a creator only the selected subcolumn's (serialization, type, column), and a null map's type is plain UInt8, indistinguishable from a genuine UInt8 element, so no existing seam could tell.
c Fix matches root cause? Yes. The selected substream is named to the creator (ISubcolumnCreator::specializeForSelectedSubcolumn), so the element read writes 1 for absent rows where absence is otherwise unrepresentable. No widened bound, no no-random-* tag, no dataset reduction, no defensive check at a symptom site. SerializationVariantElementNullMap already does exactly this for the top-level x.<Elem>.null.
d Test intent preserved / new tests added? No existing test modified. One new test, 05222_variant_element_nested_null_map_subcolumn.sh, 90 assertions of which 23 fail without the fix. 04652 and 04653 deliberately untouched and passing unmodified; 04652's latent merge-state dependence disappears without an edit.
e Both directions demonstrated? Yes, on Build-ID-verified binaries (base 45fcbd36, fix aff14374): the absent-element row reads 0 -> 1 and the two count() forms go from 1/2 to 2/2, rows 1-2 unchanged. Inside tests/clickhouse-test, the new test is in the FAIL set of a 941-test sweep run against a base-binary server and passes 50/50 against the fixed one.
f Fix is general across code paths? All four read sites, all three in-memory branches of DataTypeDynamic::getDynamicSubcolumnInfo (a registered discriminator, a type extracted from the shared variant, a type no row holds) and the dynamically-resolved-descendant path. Per-hunk mutation arms name which case covers which: 9 of 11 hunks have a reddening case (one of them only in combination with a second hunk, isolated by a paired control arm); the 2 that do not are disclosed in the adjudication notes rather than claimed as covered. The already-correct sibling SerializationVariantElementNullMap is asserted as a control, not changed.
g Fix generalizes across inputs (params/datatypes/wrappers)? Compact and wide parts; Dynamic, plain Variant, JSON typed path, JSON dynamic path, Dynamic(max_types = 0) shared variant, Memory; nested Variant and nested Tuple below the element; index_granularity = 1; ALTER MODIFY and ALTER ADD COLUMN (on Dynamic, and on a pure Variant in both a compact and a wide part); both values of allow_nullable_tuple_in_extracted_subcolumns. Array- and Map-wrapped null maps (Array(UInt8), absent value []) and a genuine UInt8 element are over-firing controls: a negative-control build that drops the bare-UInt8 guard breaks all of them.
h Backward compatible? Yes. No setting added or defaulted differently, so no SettingsChangesHistory entry; no on-disk or format change, since the same streams are requested and only the value written into rows where the element is absent changes. That value change is the fix, and it makes .null agree with the IS NULL it is a rewrite of.
i Invariants and contracts preserved? serializeBinaryBulk* on both element serializations still throw NOT_IMPLEMENTED (read path only). The new flag is hashed into both getHash functions, so it is part of the serialization pooling key, asserted by reading the null map and the value of one column in a single statement. The shared-variant SerializationVariantElement::create is deliberately not given the flag. Row counts and block structure are unchanged on every path, including the early returns: each appends exactly as many rows as before.

Session id: cron:clickhouse-impl-slot-41:20260914-214400

@clickhouse-gh clickhouse-gh Bot added the comp-json-datatype JSON/Dynamic/Object datatype: semi-structured column storage, typed and dynamic paths, sub-object... label Sep 15, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 13008a6

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stateless tests (amd_debug, parallel) / 05182_join_order_conflict_detector_cast_null_propagation flaky: clickhouse-test randomizes auto_statistics_types, and every subset without basic flips the join order the test asserts #120084 (external, merged 03:57Z), merged master to pick it up @ 657a015
Stateless tests (amd_tsan, s3 storage, parallel, selected tests) / 05182_join_order_conflict_detector_cast_null_propagation same signature, same cause #120084 (external, merged 03:57Z), merged master to pick it up @ 657a015
Stress test (arm_asan_ubsan) / Logical error: GroupingAggregatedTransform pushed bucket A twice (STID 3994-4c1d) logical error in memory-efficient distributed aggregation; my merged #116446 is already an ancestor of the tree that failed, so the residual hole is the Cascades path #119814 (external, open)
Fast test (arm_darwin) / 04068_lwd_minmax_projection_recovery_rmt the client wedges to the 60s Fast test cap on the macOS runner (Timeout! Killing process group, then Operation not permitted while sending SIGKILL); the same test passed on plain Fast test and on 4 other lanes at this very commit a fix task is created (investigating at full effort, fixing-PR link to follow on this PR)
Build profile diff job error, not a test: RuntimeError: CI logs cluster query failed raised from compare_compile_times in ci/jobs/build_profile_diff_job.py; 28 such errors over 26 PRs in the last 24 h #118708 (mine, open)

Two notes so the red marks are not misread. The Finish Workflow failure on this commit belongs to
the workflow run that the publish-time can be tested label cancelled (check suite 94529726231, 164
cancelled jobs, no CIDB row); the live suite 94530024698 carried exactly the five rows above. And on
the STID 3994-4c1d row I did not re-derive the per-occurrence carrier from this job's artifacts: the
link rests on the measured evidence recorded on #118536, where the same signature was proven to fire
through the Cascades plan on a build that already contained #116446.

Session id: cron:our-pr-ci-monitor:20260915-043204

@groeneai

Copy link
Copy Markdown
Collaborator Author

Fixing PR for the Fast test (arm_darwin) / 04068_lwd_minmax_projection_recovery_rmt line in the ledger above: #120122.

Still not caused by this PR: the test's lightweight delete waits on a mutation that the server-global merges/mutations pool-headroom guard refuses to assign, and that refusal reuses an already-saturated 60 s merge-selecting interval instead of retrying sooner.

@clickhouse-gh

clickhouse-gh Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 657a015e6 with master 8d780d797 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

3052 translation units recompiled, 15647 s compile time in total, 3052 of them have a recent master baseline.

Job report

github-merge-queue Bot pushed a commit that referenced this pull request Sep 15, 2026
… merges/mutations pool contention

04068_lwd_minmax_projection_recovery_rmt stops making progress and is killed by
the Fast test 60 second per-test cap: 3 failures in 190,994 runs over 45 days,
none of them on master, and in the job that surfaced it (#120099) it was the sole
red of 15,103 rows. It is a stall rather than a slow test (the OK maximum is
7.0 s over 25,331 Fast test runs and 14.5 s over 10,219 arm_darwin runs, while
the failures sit at 60.05 and 60.10 s), and the non-replicated sibling of this
test has 0 failures in 190,985 runs.

The twelve single-row INSERTs each schedule the merge-selecting task, so twelve
iterations run back to back, find nothing mergeable and return
AttemptStatus::CannotSelect, which multiplies merge_selecting_sleep_ms up to
max_merge_selecting_sleep_ms (60 s). DELETE FROM then creates the mutation, and
the single iteration that sees it is refused by the pool-headroom guard in
CompactionStatistics::getMaxSourcePartBytesForMutation:

  max_tasks_count (32) - occupied (25) <
  number_of_free_entries_in_pool_to_execute_mutation (8)

so max_source_part_bytes_for_mutation is 0 and mergeSelectingTask returns
AttemptStatus::Limited. Limited matches neither arm of the backoff epilogue, so
the saturated 60 second interval is reused verbatim, no MUTATE_PART entry is
created, and lightweight_deletes_sync = 2 blocks until max_execution_time fires.
With the threshold at 0 the guard's comparison is unconditionally true for this
table, so the mutation is assigned on the first iteration that sees it, whatever
unrelated parallel tests are doing to the server-global pool. The non-replicated
sibling is immune because StorageMergeTree::mutate() calls
background_operations_assignee.trigger(), which shrinks its backoff instead of
leaving it saturated.

Reproduced as a 2x2 over pool occupancy and this diff, on one server and one
binary: the pristine file with an occupied pool fails with code 159 after
60.64 s; this diff under the same occupancy passes in 2.69 s with byte-for-byte
reference output; both files pass on an idle pool, which places the failure on
occupancy rather than on the test. 100 of 100 randomized runs of this test and
its plain sibling pass, as do 10 runs each of 02440_mutations_finalization and
03716_mutations_parts_postpone_reasons_rmt.

The engine-level starvation, where Limited reuses a saturated interval for every
Replicated table, is tracked upstream in #61902 and is deliberately not touched
here; this is the same test-side remedy already merged in #118435 and #112090
for the identical log signature.

Related: #120099

Co-Authored-By: Claude Opus 5 <[email protected]>
@alexey-milovidov alexey-milovidov self-assigned this Sep 19, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member

This is quite complex, but acceptable.

@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Sep 19, 2026
Merged via the queue into ClickHouse:master with commit 545a990 Sep 19, 2026
177 checks passed
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-json-datatype JSON/Dynamic/Object datatype: semi-structured column storage, typed and dynamic paths, sub-object... groeneai-origin-review-bot PR origin: review-bot finding on a groeneai PR pr-bugfix Pull request with bugfix, not backported by default pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extracted Nullable element's .null ignores discriminators: IS NULL misses rows

3 participants