Return resize processor before aggregating.

This commit is contained in:
Nikolai Kochetov 2019-11-09 12:24:55 +03:00
parent 86894c9570
commit cc16ac3c3c

View File

@ -1974,7 +1974,7 @@ void InterpreterSelectQuery::executeAggregation(QueryPipeline & pipeline, const
if (pipeline.getNumMainStreams() > 1)
{
/// Add resize transform to uniformly distribute data between aggregating streams.
pipeline.resize(pipeline.getNumMainStreams()); // , true);
pipeline.resize(pipeline.getNumMainStreams(), true);
auto many_data = std::make_shared<ManyAggregatedData>(pipeline.getNumMainStreams());
auto merge_threads = settings.aggregation_memory_efficient_merge_threads