summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Velikhov <[email protected]>2024-07-27 16:37:44 +0300
committerGitHub <[email protected]>2024-07-27 16:37:44 +0300
commita6db73db92a5b7a85bf220ed05004bc7df0776ea (patch)
tree083c124b84c8db099e5accba82deef80c678b1ff
parent0b44b0533b4e7fc8de952b7e68fe9830b8aa6cba (diff)
Reenabled grace join pragma (#7160)
-rw-r--r--ydb/library/yql/dq/opt/dq_opt_phy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/dq/opt/dq_opt_phy.cpp b/ydb/library/yql/dq/opt/dq_opt_phy.cpp
index 45cd2f9b5b6..22db7700cc4 100644
--- a/ydb/library/yql/dq/opt/dq_opt_phy.cpp
+++ b/ydb/library/yql/dq/opt/dq_opt_phy.cpp
@@ -2692,7 +2692,7 @@ TExprBase DqBuildJoin(const TExprBase& node, TExprContext& ctx, IOptimizationCon
return node;
}
- if (useHashJoin && (hashJoin == EHashJoinMode::GraceAndSelf || shuffleMapJoin)) {
+ if (useHashJoin && (hashJoin == EHashJoinMode::GraceAndSelf || hashJoin == EHashJoinMode::Grace || shuffleMapJoin)) {
return DqBuildHashJoin(join, hashJoin, ctx, optCtx);
}