[fix](Nereids) fix test framework of hypergraph (#22434)

This commit is contained in:
谢健
2023-08-01 16:20:07 +08:00
committed by GitHub
parent f16a39aea1
commit d4a6ef3f8c

View File

@ -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);
}