mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
dbms: SplittingAggregator: development [#METR-2944].
This commit is contained in:
parent
d98f41ba3d
commit
2bfefa24ba
@ -506,14 +506,15 @@ void InterpreterSelectQuery::executeAggregation(BlockInputStreams & streams, Exp
|
|||||||
settings.max_threads, settings.limits.max_rows_to_group_by, settings.limits.group_by_overflow_mode), settings.asynchronous);
|
settings.max_threads, settings.limits.max_rows_to_group_by, settings.limits.group_by_overflow_mode), settings.asynchronous);
|
||||||
streams.resize(1);
|
streams.resize(1);
|
||||||
|
|
||||||
/* stream = maybeAsynchronous(
|
/* if (key_names.empty())
|
||||||
(key_names.empty()
|
stream = maybeAsynchronous(
|
||||||
? new ParallelAggregatingBlockInputStream(streams, key_names, aggregates, query.group_by_with_totals, separate_totals,
|
new ParallelAggregatingBlockInputStream(streams, key_names, aggregates, query.group_by_with_totals, separate_totals,
|
||||||
settings.max_threads, settings.limits.max_rows_to_group_by, settings.limits.group_by_overflow_mode)
|
settings.max_threads, settings.limits.max_rows_to_group_by, settings.limits.group_by_overflow_mode), settings.asynchronous);
|
||||||
: new SplittingAggregatingBlockInputStream(
|
else
|
||||||
new UnionBlockInputStream(streams, settings.max_threads), key_names, aggregates, settings.max_threads)),
|
stream = maybeAsynchronous(
|
||||||
settings.asynchronous);
|
new SplittingAggregatingBlockInputStream(
|
||||||
|
new UnionBlockInputStream(streams, settings.max_threads), key_names, aggregates, settings.max_threads), settings.asynchronous);
|
||||||
|
|
||||||
streams.resize(1);*/
|
streams.resize(1);*/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user