datafusion_expr::expr_rewriter

Function coerce_plan_expr_for_schema

Source
pub fn coerce_plan_expr_for_schema(
    plan: LogicalPlan,
    schema: &DFSchema,
) -> Result<LogicalPlan>
Expand description

Returns plan with expressions coerced to types compatible with schema types