style fix

This commit is contained in:
Amos Bird 2022-07-07 16:28:06 +08:00
parent 69de9ee0e8
commit b9d9ca5194
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4
2 changed files with 6 additions and 6 deletions

View File

@ -35,11 +35,10 @@ QueryPipelineBuilderPtr JoinStep::updatePipeline(QueryPipelineBuilders pipelines
if (join->pipelineType() == JoinPipelineType::YShaped)
return QueryPipelineBuilder::joinPipelinesYShaped(
std::move(pipelines[0]), std::move(pipelines[1]),
join, output_stream->header,
max_block_size, &processors);
std::move(pipelines[0]), std::move(pipelines[1]), join, output_stream->header, max_block_size, &processors);
return QueryPipelineBuilder::joinPipelinesRightLeft(std::move(pipelines[0]), std::move(pipelines[1]), join, max_block_size, max_streams, keep_left_read_in_order, &processors);
return QueryPipelineBuilder::joinPipelinesRightLeft(
std::move(pipelines[0]), std::move(pipelines[1]), join, max_block_size, max_streams, keep_left_read_in_order, &processors);
}
void JoinStep::describePipeline(FormatSettings & settings) const
@ -50,7 +49,8 @@ void JoinStep::describePipeline(FormatSettings & settings) const
void JoinStep::updateLeftStream(const DataStream & left_stream_)
{
input_streams = {left_stream_, input_streams.at(1)};
output_stream = DataStream{
output_stream = DataStream
{
.header = JoiningTransform::transformHeader(left_stream_.header, join),
};
}
@ -108,5 +108,4 @@ void FilledJoinStep::updateOutputStream()
input_streams.front(), JoiningTransform::transformHeader(input_streams.front().header, join), getDataStreamTraits());
}
}

View File

@ -1,4 +1,5 @@
#pragma once
#include <Processors/QueryPlan/IQueryPlanStep.h>
#include <Processors/QueryPlan/ITransformingStep.h>