viirya commented on code in PR #9411:
URL: https://github.com/apache/arrow-datafusion/pull/9411#discussion_r1510342562
##########
datafusion/expr/src/expr.rs:
##########
@@ -1471,9 +1475,13 @@ impl fmt::Display for Expr {
ref args,
filter,
order_by,
+ null_treatment,
..
}) => {
fmt_function(f, func_def.name(), *distinct, args, true)?;
+ if let Some(nt) = null_treatment {
+ write!(f, "{}", nt)?;
Review Comment:
```suggestion
write!(f, " {}", nt)?;
```
##########
datafusion/expr/src/expr.rs:
##########
@@ -1823,6 +1832,9 @@ fn create_name(e: &Expr) -> Result<String> {
if let Some(order_by) = order_by {
info += &format!(" ORDER BY [{}]", expr_vec_fmt!(order_by));
};
+ if let Some(nt) = null_treatment {
+ info += &format!("{}", nt);
Review Comment:
```suggestion
info += &format!(" {}", nt);
```
--
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]