This is an automated email from the ASF dual-hosted git repository.

jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new d4a6ef3f8c  [fix](Nereids) fix test framework of hypergraph (#22434)
d4a6ef3f8c is described below

commit d4a6ef3f8cd515a6250b5ac2fc832eef14791992
Author: 谢健 <[email protected]>
AuthorDate: Tue Aug 1 16:20:07 2023 +0800

     [fix](Nereids) fix test framework of hypergraph (#22434)
---
 .../src/test/java/org/apache/doris/nereids/util/HyperGraphBuilder.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/test/java/org/apache/doris/nereids/util/HyperGraphBuilder.java 
b/fe/fe-core/src/test/java/org/apache/doris/nereids/util/HyperGraphBuilder.java
index 5a1d88fe51..ca594bdc99 100644
--- 
a/fe/fe-core/src/test/java/org/apache/doris/nereids/util/HyperGraphBuilder.java
+++ 
b/fe/fe-core/src/test/java/org/apache/doris/nereids/util/HyperGraphBuilder.java
@@ -640,7 +640,7 @@ public class HyperGraphBuilder {
                 lv = right.get(slots.get(0)).get(rightIndex);
                 rv = left.get(slots.get(1)).get(leftIndex);
             }
-            Boolean res = (lv == rv);
+            Boolean res = (lv == rv) && (lv != null) && (rv != null);
             if (joinType.isNullAwareLeftAntiJoin()) {
                 res |= (lv == null);
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to