You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/15 12:22:16 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #4916: Improve documentation for ExprVisitor, port simple uses to new walking function

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-unsubscribe@arrow.apache.org

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