mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
dbms: fixed performance issue caused by typo [#METR-14654].
This commit is contained in:
parent
b3bee6ac08
commit
a54a634595
@ -47,7 +47,7 @@ public:
|
||||
|
||||
void merge(AggregateDataPtr place, ConstAggregateDataPtr rhs) const
|
||||
{
|
||||
data(place).value.insert(data(place).value.begin(), data(rhs).value.begin(), data(rhs).value.end());
|
||||
data(place).value.insert(data(place).value.end(), data(rhs).value.begin(), data(rhs).value.end());
|
||||
}
|
||||
|
||||
void serialize(ConstAggregateDataPtr place, WriteBuffer & buf) const
|
||||
|
12
dbms/tests/queries/0_stateless/00113_group_array.reference
Normal file
12
dbms/tests/queries/0_stateless/00113_group_array.reference
Normal file
@ -0,0 +1,12 @@
|
||||
0 100
|
||||
1 100
|
||||
2 100
|
||||
3 100
|
||||
4 100
|
||||
5 100
|
||||
6 100
|
||||
7 100
|
||||
8 100
|
||||
9 100
|
||||
|
||||
0 1000000
|
1
dbms/tests/queries/0_stateless/00113_group_array.sql
Normal file
1
dbms/tests/queries/0_stateless/00113_group_array.sql
Normal file
@ -0,0 +1 @@
|
||||
SELECT intDiv(number, 100) AS k, length(groupArray(number)) FROM (SELECT * FROM system.numbers LIMIT 1000000) GROUP BY k WITH TOTALS ORDER BY k LIMIT 10;
|
Loading…
Reference in New Issue
Block a user