From a18742d212979b1d1dee509bd7260359dfcd976e Mon Sep 17 00:00:00 2001 From: minghong Date: Tue, 30 Jul 2024 18:14:43 +0800 Subject: [PATCH] fix --- .../apache/doris/nereids/rules/rewrite/PullUpJoinFromUnion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpJoinFromUnion.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpJoinFromUnion.java index 1f68d53f079c08..2f5e7fef1bdb04 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpJoinFromUnion.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PullUpJoinFromUnion.java @@ -90,7 +90,7 @@ public Rule build() { break; } } - if (commonChild == null || commonChild.isEmpty()) { + if (commonChild == null) { return null; }