From 30ef8ade6c76132bc6b73454164b328b2a7807fd Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 2 May 2021 21:43:45 +0300 Subject: [PATCH] Merge with master --- src/Functions/array/arrayAggregation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/array/arrayAggregation.cpp b/src/Functions/array/arrayAggregation.cpp index 45f4e7ab529..8a1b3abe565 100644 --- a/src/Functions/array/arrayAggregation.cpp +++ b/src/Functions/array/arrayAggregation.cpp @@ -173,7 +173,7 @@ struct ArrayAggregateImpl { size_t array_size = offsets[i] - pos; /// Just multiply the value by array size. - res[i] = x * Result(array_size); + res[i] = x * ResultType(array_size); } else if constexpr (aggregate_operation == AggregateOperation::min || aggregate_operation == AggregateOperation::max)