datafusion_expr::expr_rewriter

Function replace_col

Source
pub fn replace_col(
    expr: Expr,
    replace_map: &HashMap<&Column, &Column>,
) -> Result<Expr>
Expand description

Recursively replace all Column expressions in a given expression tree with Column expressions provided by the hash map argument.