peter-toth commented on code in PR #9913:
URL: https://github.com/apache/arrow-datafusion/pull/9913#discussion_r1554990514


##########
datafusion/expr/src/logical_plan/plan.rs:
##########
@@ -285,57 +287,57 @@ impl LogicalPlan {
     /// Calls `f` on all expressions (non-recursively) in the current
     /// logical plan node. This does not include expressions in any
     /// children.
-    pub fn inspect_expressions<F, E>(self: &LogicalPlan, mut f: F) -> 
Result<(), E>
-    where
-        F: FnMut(&Expr) -> Result<(), E>,
-    {
+    pub fn apply_expressions<F: FnMut(&Expr) -> Result<TreeNodeRecursion>>(

Review Comment:
   I've opened https://github.com/apache/arrow-datafusion/pull/9984 as I think 
we don't need that `inspect_expr_pre()`, this PR together with 
https://github.com/apache/arrow-datafusion/pull/9984 will remove all usecases 
of it.



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

Reply via email to