Skip to content

Commit

Permalink
Merge branch 'master' into fine_grained_shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-shaoge authored Jul 10, 2022
2 parents 7b35d25 + b62dc6a commit 920673c
Show file tree
Hide file tree
Showing 15 changed files with 465 additions and 373 deletions.
7 changes: 3 additions & 4 deletions dbms/src/DataStreams/ParallelAggregatingBlockInputStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace DB
{
ParallelAggregatingBlockInputStream::ParallelAggregatingBlockInputStream(
const BlockInputStreams & inputs,
const BlockInputStreamPtr & additional_input_at_end,
const BlockInputStreams & additional_inputs_at_end,
const Aggregator::Params & params_,
const FileProviderPtr & file_provider_,
bool final_,
Expand All @@ -41,11 +41,10 @@ ParallelAggregatingBlockInputStream::ParallelAggregatingBlockInputStream(
, keys_size(params.keys_size)
, aggregates_size(params.aggregates_size)
, handler(*this)
, processor(inputs, additional_input_at_end, max_threads, handler, log)
, processor(inputs, additional_inputs_at_end, max_threads, handler, log)
{
children = inputs;
if (additional_input_at_end)
children.push_back(additional_input_at_end);
children.insert(children.end(), additional_inputs_at_end.begin(), additional_inputs_at_end.end());
}


Expand Down
2 changes: 1 addition & 1 deletion dbms/src/DataStreams/ParallelAggregatingBlockInputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ParallelAggregatingBlockInputStream : public IProfilingBlockInputStream
*/
ParallelAggregatingBlockInputStream(
const BlockInputStreams & inputs,
const BlockInputStreamPtr & additional_input_at_end,
const BlockInputStreams & additional_inputs_at_end,
const Aggregator::Params & params_,
const FileProviderPtr & file_provider_,
bool final_,
Expand Down
Loading

0 comments on commit 920673c

Please sign in to comment.