pub fn plan(
    join: &MirRelationExpr,
    input_mapper: &JoinInputMapper,
    available: &[Vec<Vec<MirScalarExpr>>],
    unique_keys: &[Vec<Vec<usize>>],
    cardinalities: &[Option<usize>],
    filters: &[FilterCharacteristics]
) -> Result<(MirRelationExpr, usize), TransformError>
Expand description

Creates a linear differential plan, and any predicates that need to be lifted. It also returns the number of new arrangements necessary for this plan.