pub fn to_alp(
    lp: LogicalPlan,
    expr_arena: &mut Arena<AExpr>,
    lp_arena: &mut Arena<ALogicalPlan>
) -> PolarsResult<Node>
Expand description

converts LogicalPlan to ALogicalPlan it adds expressions & lps to the respective arenas as it traverses the plan finally it returns the top node of the logical plan