mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge with master
This commit is contained in:
parent
fc8db048e1
commit
30ef8ade6c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user