mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Fix
This commit is contained in:
parent
b724f2c331
commit
8245e3d7ef
@ -982,10 +982,7 @@ JoinTreeQueryPlan buildQueryPlanForTableExpression(QueryTreeNodePtr table_expres
|
|||||||
query_plan = std::move(query_plan_parallel_replicas);
|
query_plan = std::move(query_plan_parallel_replicas);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (
|
else if (ClusterProxy::canUseParallelReplicasOnInitiator(query_context))
|
||||||
ClusterProxy::canUseParallelReplicasOnInitiator(query_context)
|
|
||||||
&& planner_context->getGlobalPlannerContext()->parallel_replicas_node
|
|
||||||
&& planner_context->getGlobalPlannerContext()->parallel_replicas_node == query_node)
|
|
||||||
{
|
{
|
||||||
// (1) find read step
|
// (1) find read step
|
||||||
QueryPlan::Node * node = query_plan.getRootNode();
|
QueryPlan::Node * node = query_plan.getRootNode();
|
||||||
|
Loading…
Reference in New Issue
Block a user