[fix](Nereids): use == instead of id to identity PhysicalHashJoin (#24535)

This commit is contained in:
jakevin
2023-09-19 12:06:30 +08:00
committed by GitHub
parent b092bdaabf
commit eea84ac36c

View File

@ -209,7 +209,7 @@ public class PhysicalHashJoin<
if (RuntimeFilterGenerator.DENIED_JOIN_TYPES.contains(getJoinType()) || isMarkJoin()) {
if (builderNode instanceof PhysicalHashJoin) {
PhysicalHashJoin<?, ?> builderJion = (PhysicalHashJoin<?, ?>) builderNode;
if (builderJion.id.asInt() == id.asInt()) {
if (builderJion == this) {
return false;
}
}