houqp commented on a change in pull request #605: URL: https://github.com/apache/arrow-datafusion/pull/605#discussion_r663445568
########## File path: datafusion/src/logical_plan/expr.rs ########## @@ -1118,36 +1133,56 @@ pub fn columnize_expr(e: Expr, input_schema: &DFSchema) -> Expr { } } +/// Recursively replace all Column expressions in a given expression tree with Column expressions +/// provided by the hash map argument. +pub fn replace_col(e: Expr, replace_map: &HashMap<&Column, &Column>) -> Result<Expr> { Review comment: this is used in predicate push down optimizer to push predicates to both sides of the join clause. -- 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