build_common_expr_project_plan

Function build_common_expr_project_plan 

Source
fn build_common_expr_project_plan(
    input: LogicalPlan,
    common_exprs: Vec<(Expr, String)>,
) -> Result<LogicalPlan>
Expand description

Build the “intermediate” projection plan that evaluates the extracted common expressions.

§Arguments

input: the input plan

common_exprs: which common subexpressions were used (and thus are added to intermediate projection)

expr_stats: the set of common subexpressions