From fb7317b62ce992ec1a6ec31c1e6badf6c8151ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1nos=20Benjamin=20Antal?= Date: Tue, 3 Feb 2026 11:25:02 +0000 Subject: [PATCH] Merge pull request #95301 from mkmkme/aggegate-crash Fix sparse column aggregation with sum() and timeseries --- src/AggregateFunctions/AggregateFunctionSum.h | 3 ++- ...arse_column_aggregation_with_sum.reference | 0 ...811_sparse_column_aggregation_with_sum.sql | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tests/queries/0_stateless/03811_sparse_column_aggregation_with_sum.reference create mode 100644 tests/queries/0_stateless/03811_sparse_column_aggregation_with_sum.sql diff --git a/src/AggregateFunctions/AggregateFunctionSum.h b/src/AggregateFunctions/AggregateFunctionSum.h index 2ce03c530c26..1d72ea447b85 100644 --- a/src/AggregateFunctions/AggregateFunctionSum.h +++ b/src/AggregateFunctions/AggregateFunctionSum.h @@ -566,7 +566,8 @@ class AggregateFunctionSum final : public IAggregateFunctionDataHelper