datafusion_expr::logical_plan::builder

Function wrap_projection_for_join_if_necessary

Source
pub fn wrap_projection_for_join_if_necessary(
    join_keys: &[Expr],
    input: LogicalPlan,
) -> Result<(LogicalPlan, Vec<Column>, bool)>
Expand description

Wrap projection for a plan, if the join keys contains normal expression.