From c9510d37053c2ee5087fe642297a600992814a5f Mon Sep 17 00:00:00 2001 From: Anton Ivashkin Date: Tue, 30 Jun 2026 09:43:06 +0200 Subject: [PATCH] Allow global join for right table in distributed queries --- src/Storages/IStorageCluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/IStorageCluster.cpp b/src/Storages/IStorageCluster.cpp index bcf2efaa3840..dd192ea50b4a 100644 --- a/src/Storages/IStorageCluster.cpp +++ b/src/Storages/IStorageCluster.cpp @@ -332,7 +332,7 @@ void IStorageCluster::updateQueryWithJoinToSendIfNeeded( modified_query_tree = buildQueryTreeForShard( query_info.planner_context, modified_query_tree, - /*allow_global_join_for_right_table*/ false, + /*allow_global_join_for_right_table*/ true, /*find_cross_join*/ true); query_to_send = queryNodeToDistributedSelectQuery(modified_query_tree); }