From 3986912b91ce5a843335424140180fbe557519c1 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Fri, 13 Dec 2024 11:26:35 +0000 Subject: [PATCH] Skip cross join in findParallelReplicasQuery. --- src/Planner/findParallelReplicasQuery.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Planner/findParallelReplicasQuery.cpp b/src/Planner/findParallelReplicasQuery.cpp index 75655428d8c..c16d72be494 100644 --- a/src/Planner/findParallelReplicasQuery.cpp +++ b/src/Planner/findParallelReplicasQuery.cpp @@ -97,6 +97,11 @@ std::vector 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();