englefly commented on code in PR #11812:
URL: https://github.com/apache/doris/pull/11812#discussion_r949936621


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalJoin.java:
##########
@@ -132,7 +167,10 @@ public List<Slot> computeOutput(Plan leftInput, Plan 
rightInput) {
     @Override
     public String toString() {
         StringBuilder sb = new StringBuilder("LogicalJoin (").append(joinType);
-        condition.ifPresent(expression -> sb.append(", ").append(expression));
+        sb.append(" [");
+        hashJoinPredicates.stream().map(expr -> sb.append(" 
").append(expr)).collect(Collectors.toList());
+        sb.append(" ]");
+        otherJoinCondition.ifPresent(expression -> sb.append(", 
").append(expression));

Review Comment:
   we need to print all information in a single string.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to