Module datafusion_expr::expr_rewriter
source · Expand description
Expression rewriter
Enums
Controls how the ExprRewriter recursion should proceed.
Traits
a trait for marking types that are rewritable by ExprRewriter
Trait for potentially recursively rewriting an
Expr expression
tree. When passed to Expr::rewrite, ExpressionVisitor::mutate is
invoked recursively on all nodes of an expression tree.Functions
Returns plan with expressions coerced to types compatible with
schema types
Recursively call
Column::normalize_with_schemas on all Column expressions
in the expr expression tree.Recursively call
Column::normalize_with_schemas on all Column expressions
in the expr expression tree.Recursively normalize all Column expressions in a list of expression trees
Recursively replace all Column expressions in a given expression tree with Column expressions
provided by the hash map argument.
Recursively rewrite an
Expr via a function.Rewrite sort on aggregate expressions to sort on the column of aggregate output
For example,
max(x) is written to col("MAX(x)")Recursively ‘unnormalize’ (remove all qualifiers) from an
expression tree.
Recursively un-normalize all Column expressions in a list of expression trees