jayendra13 commented on code in PR #20851:
URL: https://github.com/apache/datafusion/pull/20851#discussion_r2935379422


##########
datafusion/expr/src/expr.rs:
##########
@@ -2858,7 +2858,29 @@ impl Display for SchemaDisplay<'_> {
                 }
             }
             Expr::BinaryExpr(BinaryExpr { left, op, right }) => {
-                write!(f, "{} {op} {}", SchemaDisplay(left), 
SchemaDisplay(right),)
+                fn write_child(

Review Comment:
   Extracted the logic from both of the places and created a common logic to 
print the expression in the latest commit.



-- 
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