alamb commented on code in PR #4916:
URL: https://github.com/apache/arrow-datafusion/pull/4916#discussion_r1070579121


##########
datafusion/expr/src/utils.rs:
##########
@@ -83,20 +85,16 @@ pub fn grouping_set_to_exprlist(group_expr: &[Expr]) -> 
Result<Vec<Expr>> {
     }
 }
 
-/// Recursively walk an expression tree, collecting the unique set of column 
names
+/// Recursively walk an expression tree, collecting the unique set of columns

Review Comment:
   here is a pretty good example of reducing the ceremony required do to a walk 
of an expr by using `inspect_expr_pre` rather than having to define a visitor 
explicitly



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to