morrySnow commented on code in PR #10462: URL: https://github.com/apache/doris/pull/10462#discussion_r908181544
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/CompoundPredicate.java: ########## @@ -37,13 +39,31 @@ public CompoundPredicate(NodeType type, LEFT_CHILD_TYPE left, RIGHT_CHILD_TYPE r super(type, left, right); } + @Override + public String toString() { + return sql(); + } + @Override public String sql() { String nodeType = getType().toString(); - return left().sql() + ' ' + nodeType + ' ' + right().sql(); + return left() + " " + nodeType + " " + right(); Review Comment: ok, i will record as a TODO in doc -- 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