Skip to content

Allow aggregate functions that don't support Variant to be applied to Variant arguments - #125726

Merged
alexey-milovidov merged 29 commits into
masterfrom
variant-aggregate-functions-simple
Nov 7, 2026
Merged

alexey-milovidov merged 29 commits into
masterfrom
variant-aggregate-functions-simple

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Related: #109369

A simpler reimplementation of #109369.

If an aggregate function rejects a Variant argument with ILLEGAL_TYPE_OF_ARGUMENT, AggregateFunctionFactory applies it to Nullable of the least common supertype of the alternatives:

f(variant) == f(CAST(variant AS Nullable(supertype(T1, ..., TN))))

This is done by a new AggregateFunctionVariantAdapter, which casts the argument columns in the batch methods and shares the state of the nested function. The adapter is applied only as the outermost wrapper, around the combinators (so sumIf, sumState, maxArgMin etc. work as usual). If there is no common supertype (or it cannot be inside Nullable), the original exception is thrown.

Unlike #109369, this PR does not change the behavior of the functions that already support Variant natively (count, any, groupArray, uniq, ...), does not add settings, and does not use the lossy Float64 supertype. It only makes the queries that previously failed work.

Changelog category (leave one):

  • Improvement

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

Aggregate functions that don't support the Variant type natively, such as sum, avg, min, max, quantile, can now be applied to Variant arguments. They are calculated over Nullable of the least common supertype of the alternatives. Previously such queries threw an exception like Illegal type Variant(...) of argument for aggregate function sum.

🤖 Generated with Claude Code


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

Version info

  • Merged into: 26.11.1.1597-master (included in 26.11 and later)

…to `Variant` arguments

If an aggregate function rejects a `Variant` argument with `ILLEGAL_TYPE_OF_ARGUMENT`,
`AggregateFunctionFactory` applies it to `Nullable` of the least common supertype of the
alternatives, through a new `AggregateFunctionVariantAdapter` that casts the argument
columns and shares the state of the nested function:

    f(variant) == f(CAST(variant AS Nullable(supertype(T1, ..., TN))))

Functions that support `Variant` natively (`count`, `any`, `groupArray`, ...) are not affected.

This is a simpler reimplementation of #109369

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [0526eb3]

Summary: ✅


AI Review

Summary

Reviewed #125726 at 0526eb325c6a56a4f04496954eeed2a8551264cb. The PR adapts unsupported Variant aggregate arguments to their nullable common supertype while preserving native payloads and distinct keys. Most earlier findings are addressed, but one acknowledged result-correctness issue remains. No new inline findings or thread replies were posted.

The PR's Fast test binary passed 95 focused behavior comparisons. Another 18 boundary probes confirmed the remaining issue and exercised state and container consumers. Adapted states were checked through finalizeAggregation, sumMerge, sumMergeState, initializeAggregation, runningAccumulate, casts, arrayReduce, and arrayReduceInRanges; these consumers use the delegated state operations. ML and bitmap producers remain opted out. Optimizer tracing covered aggregate fusion, group-key elimination, and projection matching, whose type checks exclude incompatible replacements.

Findings

❌ Blockers

  • src/AggregateFunctions/AggregateFunctionFactory.cpp:561–563: Nullable payloads must be skipped before extremal-key selection, including through -Distinct. [dismissed by author -- https://github.com/Allow aggregate functions that don't support Variant to be applied to Variant arguments #125726#discussion_r4324081297] The author acknowledged this composition as a limitation; it still silently violates the promised nullable-supertype behavior. The conversion probe stops at -Distinct, leaving null filtering inside -ArgMax, so a null payload can select the maximum key and discard the valid contribution:

    SELECT
        sumDistinctArgMax(v, k),
        sumDistinctArgMax(v::Nullable(UInt64), k)
    FROM values('v Variant(UInt64), k UInt8', (NULL, 2), (3, 1));
    -- Current PR binary: NULL, 3

    Preserve original distinct keys while excluding null payloads before key selection, or reject this unsupported composition. Add the focused comparison above as a regression test. The existing author-resolved thread was left unchanged.

Final Verdict

Status: ❌ Block. Correct or reject the -Distinct/extremal-key composition above and add regression coverage.

@clickhouse-gh clickhouse-gh Bot added pr-improvement Pull request with some product improvements comp-aggregate-functions Aggregate function implementations (sum, avg, count, quantile, combinators, etc.). labels Oct 14, 2026
alexey-milovidov and others added 2 commits October 14, 2026 19:35
…VariantAdapter`

The batch methods converted the whole input column regardless of `row_begin`
and `row_end`. Ordered window frames add one row at a time, so a block of N
rows was converted N times. Now the columns are cut to the requested range
before the conversion when the range is not the whole block.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…binators like `-Merge`

`sumMerge` of `AggregateFunction(sum, Variant(UInt64))` failed, because the
`Variant` argument appears only after `-Merge` strips the state type, and the
nested function was created without the adapter. Now the adapter is applied to
the nested function when the arguments of the combinator itself have no
`Variant` (so it cannot be applied around the combinator). This also makes
`sumArray` and `maxForEach` work with arrays of `Variant`.

Add tests for ordered window frames, an explicitly declared state type, and
combinators.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 0526eb325 with master 646a803b0 (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.

Object file sizes

166 object files changed (+144.30 KiB total), 0 added.

Object file Master PR Δ
src/CMakeFiles/dbms.dir/AggregateFunctions/AggregateFunctionFactory.cpp.o 177.30 KiB 307.45 KiB +130.15 KiB (+73.41%)
src/AggregateFunctions/CMakeFiles/clickhouse_aggregate_functions.dir/Combinators/AggregateFunctionD… 1.57 MiB 1.47 MiB -101.42 KiB (-6.31%)
src/AggregateFunctions/CMakeFiles/clickhouse_aggregate_functions.dir/Combinators/AggregateFunctionT… 257.55 KiB 286.91 KiB +29.35 KiB (+11.40%)
src/AggregateFunctions/CMakeFiles/clickhouse_aggregate_functions.dir/Combinators/AggregateFunctionM… 4.26 MiB 4.28 MiB +20.68 KiB (+0.47%)

719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Compile time of recompiled translation units

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

Median compile-time ratio to the baselines is ×0.95 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio.
The matched translation units cost -151.3 s (-6%) in total before that adjustment.

Job report

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything else LGTM.

@alexey-milovidov alexey-milovidov self-assigned this Oct 15, 2026
alexey-milovidov and others added 3 commits October 15, 2026 02:18
… of try/catch

Add `AggregateFunctionProperties::variant_arguments_conversion` that declares which `Variant`
arguments an aggregate function cannot process natively (`All` for `sum`, `avg`, `min`, `max`,
the `quantile` family, the statistical functions, etc., `AllExceptFirst` for `argMin`, `argMax`,
`topKWeighted`, `approx_top_sum`, `groupArrayInsertAt`), and
`IAggregateFunctionCombinator::needsVariantArgumentsConversion` for combinators that check the type
of their own arguments (`-ArgMin`, `-ArgMax`, `-Resample`).

`AggregateFunctionFactory::get` probes them with `needsVariantArgumentsConversion`, which walks
through the combinators, instead of catching `ILLEGAL_TYPE_OF_ARGUMENT`. The probe sees the
arguments of the nested function, so combinators like `-Merge` and `-Array` don't need special
handling anymore, and `getNested` and `getWithoutVariantAdapter` are removed.

#125726 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	src/AggregateFunctions/AggregateFunctionsMinMax.cpp
…ter rejects an argument

When the alternatives of a `Variant` argument have no common supertype, `AggregateFunctionFactory`
throws its own `ILLEGAL_TYPE_OF_ARGUMENT` before the nested function is created, so the hint added
on master by `getNumericVariantSupertypeHint` (checked by `04328_lossy_numeric_supertype_nested_hint`)
was lost. Append the same hint to this exception.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=latest&name_0=PR&name_1=Fast%20test
PR: #125726

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nversion

`AggregateFunctionFactory::get` applies the `Null` combinator before constructing a function with
a combinator, so e.g. the condition of `-If` reaches `transformArguments` without `Nullable`.
`needsVariantArgumentsConversion` probed combinators with the original types, so
`uniqIf(v, toNullable(cond))` threw `ILLEGAL_TYPE_OF_ARGUMENT`.

Address review: #125726 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov and others added 2 commits October 20, 2026 09:58
…he nested function of combinators

`AggregateFunctionVariantAdapter` converted every `Variant` argument and was applied around
the whole combined function when any nested function needed the conversion. This changed
the payload of `argMax`, `topKWeighted`, `-ArgMax` and `-Resample` (including its `NULL`
handling, e.g. `groupArrayArgMax(v, k)` dropped the row with the maximum key), and made
`-Distinct` collect converted values, so `sum(DISTINCT v)` treated `1::UInt8` and `1::UInt16`
alternatives as equal.

Now only the argument positions that the function or the outermost combinator itself does
not support are converted (`getVariantArgumentsToConvert`). The arguments passed to a nested
function are converted by the adapter applied to it, as nested functions are created by
`AggregateFunctionFactory::get` too. Since the adapter can now be inside -If, it applies the
`if` argument itself instead of passing it to the nested `Null` combinator, which does not
support it.

Address review: #125726 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 @groeneai, investigate the failures: 03821_drop_workload_during_query_race (flaky, 2/58 reruns failed) in https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=e6a71b0b17e307023c4d2ead7159a49e84100f39&name_0=PR&name_1=Stateless%20tests%20%28arm_binary%2C%20s3%20storage%2C%20DBReplicated%2C%20sequential%29 and OOM in dmesg in AST fuzzer (amd_release, oracle), where the last query is toFixedString(..., 1048576) over a STREAM BOUNDED CURSOR read: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=e6a71b0b17e307023c4d2ead7159a49e84100f39&name_0=PR&name_1=AST%20fuzzer%20%28amd_release%2C%20oracle%29 and provide a fix in a separate PR. If the fix is already in progress, link it here. (The Stateless tests (amd_tsan, s3 storage, targeted) failure was a CIDB MEMORY_LIMIT_EXCEEDED while loading test selection.)

@groeneai

Copy link
Copy Markdown
Collaborator

Both already have fixes, one merged and one open:

  1. 03821_drop_workload_during_query_race: Fix flaky test 03821_drop_workload_during_query_race #126345 (merged 2026-10-19 10:34 UTC). The e6a71b0 run is from 2026-10-18, before that merge. Its stdout is the stack trace of an expected INVALID_SCHEDULER_NODE error (RequestQueue::enqueueRequest <- CPULeaseAllocation::schedule), which the test's per-line grep -v let through; Fix flaky test 03821_drop_workload_during_query_race #126345 drops the whole error report. Your new head daa8191 includes it.

  2. OOM in dmesg in AST fuzzer (amd_release, oracle): Bound the AST fuzzer oracle's sub-query output while it is formatted #125414 (open, merges cleanly into current master). STREAM BOUNDED CURSOR is incidental. In server.log, the only query running from 07:46:15 until the kill is the TLP WHERE oracle's reference query (the fuzzed query without WHERE and LIMIT), 30000 rows of a 1 MiB LowCardinality(FixedString). executeAndCollectSortedRows collects its TSV output into an unbounded WriteBufferFromOwnString and checks MAX_ORACLE_OUTPUT_SIZE only after the query ends. Each row formats to 2,097,125 bytes (the NUL padding is escaped), about 63 GB in total, while max_result_bytes counts the in-memory LowCardinality chunk, where the 1 MiB value is stored once. The string grows through operator new, which is tracked but never refused (min_allocation_size_to_throw_on_memory_limit = 0), so the 40.33 GiB limit refused only system-log flushes. Bound the AST fuzzer oracle's sub-query output while it is formatted #125414 throws TOO_MANY_BYTES as soon as the buffer passes 10 MiB, which the oracle already treats as skipped.

Local A/B with this seed query on the same table shape (ast_fuzzer_oracle = 1, 16 GiB cgroup): master was OOM-killed in 4 of 42 runs, each time inside an oracle sub-query returning a 1 MiB FixedString per row. Master + #125414 had 0 kills in 52 runs, and 60 such sub-queries stopped at the 10 MiB cap.

…ax`, `-Resample` and `-OrDefault`

When the nested function converted the `Variant` arguments, the implicit `Null` combinator
ended up inside these combinators: `-ArgMin`/`-ArgMax` selected rows with NULL payload,
and `-Resample`/`-OrNull`/`-OrDefault` produced nullable states for empty groups. The results
differed from the ones for the arguments explicitly cast to `Nullable`.

Such combinators now convert the arguments that the nested function would convert around
themselves (looking through `-If`), so that the `Null` combinator is applied at the outermost
level, as for explicit `Nullable` arguments. `-Distinct`, `-State` and native payloads still see
the original values.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov and others added 2 commits October 24, 2026 05:25
…guments conversion

`stochasticLinearRegression` and `stochasticLogisticRegression` trained on
`Variant` arguments produce states that `evalMLMethod` cannot use, because
neither `AggregateFunctionVariantAdapter` nor the nested `Null` adapter forwards
`getReturnTypeToPredict` and `predictValues`. Leave these functions rejecting
`Variant` arguments, as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov and others added 2 commits October 25, 2026 11:58
…rgMax`, keep `groupBitmap` opted out

`-State` and `-SimpleState` now forward the `Variant` arguments conversion to an outer
combinator like `-ArgMax`, so that `sumStateArgMax` skips NULL values before selecting
the row, as for explicitly `Nullable` arguments.

`groupBitmap` no longer converts `Variant` arguments, because the bitmap functions
cannot consume the resulting states.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ple` and `-Distinct`

`-Tuple` passed the elements to one `AggregateFunctionVariantAdapter` per element row by row,
and `-Distinct` passed every newly seen value to the nested adapter separately, so the
conversion was done for every row (`sumTuple` and `sumDistinct` over 1M `Variant` rows took 7-8 s).

`-Tuple` now converts the `Variant` elements around itself (`ConvertedAround`), with the new
`convertVariantArgumentsAroundMultipleNestedFunctions` that probes every nested function independently.
`-Distinct` still collects the distinct keys over the original `Variant` values, but now passes
the newly seen rows of a batch to the nested function together. Both queries now take 0.02-0.2 s.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=19f6e90988c4dd33438e600f107791363c5f8d9f&name_0=PR&name_1=Stress%20test%20%28amd_tsan%29 (ThreadSanitizer: data race in ClientEmbeddedRunner::clientRoutine, unrelated to this PR) and provide a fix in a separate PR. If the fix is already in progress, link it here — #127990 looks like it. The Build profile diff failure (LogClusterNotReady) is CI infrastructure, see #126200.

@groeneai

Copy link
Copy Markdown
Collaborator

The fix is #127990. This report is the race it fixes: the embedded client thread writes ClientEmbeddedRunner::exit_code (a plain int) at ClientEmbeddedRunner.cpp:80 when client.run returns, and SSHPtyHandler::run reads it at SSHPtyHandler.cpp:621 after its loop exits on a closed channel or server shutdown, while the client thread can still be running. #127990 makes exit_code a std::atomic<int>. Its CI has finished with no PR-caused failures.

alexey-milovidov and others added 3 commits October 29, 2026 00:35
…d aggregation

`addBatch`, `addBatchWithNonNullPlaces` and `addBatchLookupTable8` of `AggregateFunctionDistinct` called `add` row by row,
so a nested `AggregateFunctionVariantAdapter` converted the `Variant` arguments once per newly seen row:
`sumDistinct(number::Variant(UInt64)) ... GROUP BY number::UInt8` took 8 s on 1M rows. Now the newly seen rows of a block
are collected with their places and passed to the nested function together (0.2 s).
`AggregateFunctionDistinct` derives from `IAggregateFunctionHelper` now, because `addBatchLookupTable8`
of `IAggregateFunctionDataHelper` is final. This also fixes the clang-tidy `cppcoreguidelines-init-variables` error.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ents of combinators

`containsVariant` did not look inside `Nullable`, so `sumMap` of a nullable tuple of `Variant` value arrays threw
`ILLEGAL_TYPE_OF_ARGUMENT`. And when a combinator converted a nested argument around itself, the converted type
replaced the original `Nullable` argument, dropping the `Nullable` wrapper (`sumMapArgMax` with a null tuple threw
`CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN`). Now the combinators convert the arguments without `Nullable`, and
`AggregateFunctionFactory` restores it, so the `Null` combinator skips the rows with NULL as for the explicit cast.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov and others added 4 commits October 30, 2026 02:22
…with a `UInt8` key

- `AggregateFunctionDistinct` now overrides `addBatchSinglePlaceNotNull`, so the null-aware
  entrypoint (e.g. `sumDistinctIf` with a `Nullable` condition) forwards the newly seen rows
  in one call instead of row by row.
- The single-place path no longer allocates on every call: while the new rows are contiguous
  they are passed as a range, and the row numbers are materialized only when they are not.
  This fixes the `window_functions_distinct` performance regression, where window functions
  add one row at a time.
- `AggregateFunctionIfNullVariadic` overrides `addBatchLookupTable8`: it resolves the places
  and uses the existing grouped batch implementation instead of calling `add` row by row.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=latest&name_0=PR&name_1=Performance%20Comparison%20(arm_release%2C%20master_head%2C%201%2F6)
#125726

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lup_group_not_split` from master

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`AggregateFunctionTuple` added the rows to the nested functions one by one, so
`sumDistinctTuple` over a `Variant` argument reached `AggregateFunctionDistinct::add`
for every row, and the nested `AggregateFunctionVariantAdapter` converted every new
value separately (8-9 s for 1M rows instead of 0.3 s with an explicit `Nullable` cast).

Now the batch methods of `-Tuple` (`addBatch`, `addBatchWithNonNullPlaces`,
`addBatchSinglePlace`, `addBatchSinglePlaceNotNull`, and the new override of
`addBatchLookupTable8` for a `UInt8` key) pass the whole batch to the matching batch
method of every nested function whose element columns are not sparse. Sparse elements
and batches with a condition keep the row-by-row path: the nested `Nullable` wrappers
don't forward the condition column in every batch method.

With `max_threads = 1` on 1M rows, `sumDistinctTuple(tuple(number::Variant(UInt64)))`
takes 0.28 s, and the same with `GROUP BY number::UInt8` takes 0.33 s (it was 6.5 s).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 @groeneai, investigate the failure: Performance Comparison (arm_release, master_head, 4/6) — prewhere_subcolumns #1 and provide a fix in a separate PR. If the fix is already in progress, link it here.

This is not caused by this PR: the query is select * from test where n.null with no aggregate functions, and since 2026-10-30 the same regression shows up in about ten unrelated PRs on the same shard (#128309, #128311, #128314, #128315, #128321, #128292, #124651, #115067, #108090, #113045). The fix appears to be in progress in #128387 (pin the part layout in the prewhere_subcolumns performance test).

The CH Inc sync failures are also unrelated: test_storage_iceberg_with_spark/test_compaction_file_size.py (Integration tests amd_tsan / amd_msan 7/8) and a SharedCatalog stress test.

@groeneai

Copy link
Copy Markdown
Collaborator

The fix is #128387 (mine, open; its Performance Comparison (arm_release) shards are running now).

On c72ae8f the PR server read 229 marks for where n.null and the reference read 39. The query is pruned by the basic statistics to the one part holding row 0, and that part is 784908 rows instead of 130818 when a background merge of the first insert parts finishes before perf.py --stop-merges freezes the layout. Both servers fill the table concurrently and merges stop only after both finish; on this base (2eafca8) the reference filled it in 3.95 s and the PR server in 2.70 s, so the PR server's merge had time to finish. #128387 stops merges for the table before the INSERT and pins the block sizes, so both servers always read the same 8 parts.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Merged master (16f19ca) to pull in #128387, which fixes the prewhere_subcolumns performance comparison failure. The merge had no conflicts; master did not change anything under src/AggregateFunctions, and the PR's main translation units still compile.

alexey-milovidov and others added 3 commits November 3, 2026 03:14
…nversion`

After merging master, `getAssociatedFunctionByNullsAction` returns a pointer.
Hold the found registry entry by pointer, as `getPropertiesImpl` does, so the
entry is not copied and `arm_tidy` does not fail.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=latest&name_0=PR&name_1=Build%20(arm_tidy%2C%201%2F4)
#125726

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	src/AggregateFunctions/Combinators/AggregateFunctionState.cpp
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Merged master (de6daf9) to pull in #129151, which fixes the flaky test_read_temporary_tables_on_failure/test.py::test_different_versions failure in Integration tests (arm_binary, 2/4): https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125726&sha=41463c402921925812d3b7e7b26a3349535a5cb2&name_0=PR&name_1=Integration%20tests%20%28arm_binary%2C%202%2F4%29. The merge had no conflicts and the PR diff is unchanged.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Fixed the CH Inc sync failure: the sync PR had a merge conflict with private master in AggregateFunctionState.cpp. Private master had the same version of that file as public master, so I kept this PR's version. I pushed a fast-forward merge to the sync branch, and it is now MERGEABLE. Every other check on this PR is green, and there are no unresolved review threads.

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Nov 7, 2026
Merged via the queue into master with commit e72d9c3 Nov 7, 2026
187 checks passed
@alexey-milovidov
alexey-milovidov deleted the variant-aggregate-functions-simple branch November 7, 2026 14:09
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-aggregate-functions Aggregate function implementations (sum, avg, count, quantile, combinators, etc.). pr-improvement Pull request with some product improvements 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.

3 participants