mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
Set pipeline type in join step description
This commit is contained in:
parent
37da8e206b
commit
a881a61e74
@ -586,6 +586,7 @@ QueryPlan buildQueryPlanForJoinNode(QueryTreeNodePtr join_tree_node,
|
|||||||
size_t max_block_size = query_context->getSettingsRef().max_block_size;
|
size_t max_block_size = query_context->getSettingsRef().max_block_size;
|
||||||
size_t max_streams = query_context->getSettingsRef().max_threads;
|
size_t max_streams = query_context->getSettingsRef().max_threads;
|
||||||
|
|
||||||
|
JoinPipelineType join_pipeline_type = join_algorithm->pipelineType();
|
||||||
auto join_step = std::make_unique<JoinStep>(
|
auto join_step = std::make_unique<JoinStep>(
|
||||||
left_plan.getCurrentDataStream(),
|
left_plan.getCurrentDataStream(),
|
||||||
right_plan.getCurrentDataStream(),
|
right_plan.getCurrentDataStream(),
|
||||||
@ -594,7 +595,7 @@ QueryPlan buildQueryPlanForJoinNode(QueryTreeNodePtr join_tree_node,
|
|||||||
max_streams,
|
max_streams,
|
||||||
false /*optimize_read_in_order*/);
|
false /*optimize_read_in_order*/);
|
||||||
|
|
||||||
join_step->setStepDescription(fmt::format("JOIN {}", JoinPipelineType::FillRightFirst));
|
join_step->setStepDescription(fmt::format("JOIN {}", join_pipeline_type));
|
||||||
|
|
||||||
std::vector<QueryPlanPtr> plans;
|
std::vector<QueryPlanPtr> plans;
|
||||||
plans.emplace_back(std::make_unique<QueryPlan>(std::move(left_plan)));
|
plans.emplace_back(std::make_unique<QueryPlan>(std::move(left_plan)));
|
||||||
|
Loading…
Reference in New Issue
Block a user