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);
|
||||
streams.resize(1);
|
||||
|
||||
/* stream = maybeAsynchronous(
|
||||
(key_names.empty()
|
||||
? 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)
|
||||
: new SplittingAggregatingBlockInputStream(
|
||||
new UnionBlockInputStream(streams, settings.max_threads), key_names, aggregates, settings.max_threads)),
|
||||
settings.asynchronous);
|
||||
|
||||
/* if (key_names.empty())
|
||||
stream = maybeAsynchronous(
|
||||
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.asynchronous);
|
||||
else
|
||||
stream = maybeAsynchronous(
|
||||
new SplittingAggregatingBlockInputStream(
|
||||
new UnionBlockInputStream(streams, settings.max_threads), key_names, aggregates, settings.max_threads), settings.asynchronous);
|
||||
|
||||
streams.resize(1);*/
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user