Open
Description
Describe the bug
In datafusion-cli:
> select (1+2)*3;
+--------------------------------+
| Int64(1) + Int64(2) * Int64(3) |
+--------------------------------+
| 9 |
+--------------------------------+
The expression displayed in the plan is misleading due to the missing parentheses.
To Reproduce
No response
Expected behavior
Always include parentheses for binary expressions
Additional context
Maybe we are also missing ()
for other expression types like unary expression