Skip cross join in findParallelReplicasQuery.

This commit is contained in:
Nikolai Kochetov 2024-12-13 11:26:35 +00:00
parent 0bcb20d966
commit 3986912b91

View File

@ -97,6 +97,11 @@ std::vector<const QueryNode *> getSupportingParallelReplicasQuery(const IQueryTr
query_tree_node = array_join_node.getTableExpression().get();
break;
}
case QueryTreeNodeType::CROSS_JOIN:
{
/// TODO: We can parallelize one table
return {};
}
case QueryTreeNodeType::JOIN:
{
const auto & join_node = query_tree_node->as<JoinNode &>();