mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +00:00
Skip cross join in findParallelReplicasQuery.
This commit is contained in:
parent
0bcb20d966
commit
3986912b91
@ -97,6 +97,11 @@ std::vector<const QueryNode *> getSupportingParallelReplicasQuery(const IQueryTr
|
|||||||
query_tree_node = array_join_node.getTableExpression().get();
|
query_tree_node = array_join_node.getTableExpression().get();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case QueryTreeNodeType::CROSS_JOIN:
|
||||||
|
{
|
||||||
|
/// TODO: We can parallelize one table
|
||||||
|
return {};
|
||||||
|
}
|
||||||
case QueryTreeNodeType::JOIN:
|
case QueryTreeNodeType::JOIN:
|
||||||
{
|
{
|
||||||
const auto & join_node = query_tree_node->as<JoinNode &>();
|
const auto & join_node = query_tree_node->as<JoinNode &>();
|
||||||
|
Loading…
Reference in New Issue
Block a user