From 3691400a602e8c8574d75a0e53993a9f974871e0 Mon Sep 17 00:00:00 2001 From: Maxim Serebryakov Date: Mon, 4 May 2020 23:26:33 +0300 Subject: [PATCH] fix order of params in AggregatingTransform --- src/Processors/Transforms/AggregatingTransform.cpp | 2 +- src/Processors/Transforms/AggregatingTransform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Processors/Transforms/AggregatingTransform.cpp b/src/Processors/Transforms/AggregatingTransform.cpp index 6043c5689fa..134894232e3 100644 --- a/src/Processors/Transforms/AggregatingTransform.cpp +++ b/src/Processors/Transforms/AggregatingTransform.cpp @@ -397,7 +397,7 @@ AggregatingTransform::AggregatingTransform(Block header, AggregatingTransformPar AggregatingTransform::AggregatingTransform( Block header, AggregatingTransformParamsPtr params_, ManyAggregatedDataPtr many_data_, - size_t current_variant, size_t temporary_data_merge_threads_, size_t max_threads_) + size_t current_variant, size_t max_threads_, size_t temporary_data_merge_threads_) : IProcessor({std::move(header)}, {params_->getHeader()}), params(std::move(params_)) , key_columns(params->params.keys_size) , aggregate_columns(params->params.aggregates_size) diff --git a/src/Processors/Transforms/AggregatingTransform.h b/src/Processors/Transforms/AggregatingTransform.h index 9c1e9d4e2db..ebfb14a387a 100644 --- a/src/Processors/Transforms/AggregatingTransform.h +++ b/src/Processors/Transforms/AggregatingTransform.h @@ -72,7 +72,7 @@ public: /// For Parallel aggregating. AggregatingTransform(Block header, AggregatingTransformParamsPtr params_, ManyAggregatedDataPtr many_data, size_t current_variant, - size_t temporary_data_merge_threads, size_t max_threads); + size_t max_threads, size_t temporary_data_merge_threads); ~AggregatingTransform() override; String getName() const override { return "AggregatingTransform"; }