englefly commented on code in PR #11812: URL: https://github.com/apache/doris/pull/11812#discussion_r949759569
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/physical/PhysicalNestedLoopJoin.java: ########## @@ -66,7 +69,7 @@ public String toString() { // TODO: Maybe we could pull up this to the abstract class in the future. StringBuilder sb = new StringBuilder(); sb.append("PhysicalNestedLoopJoin ([").append(joinType).append("]"); - condition.ifPresent( + otherJoinCondition.ifPresent( Review Comment: if we have equal condition, the logicalJoin will be translated to PhysicalHashJoin instead of PhysicalNestedLoopJoin. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org