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

Creates a delta query plan, and any predicates that need to be lifted.

The method returns Err if it fails to find a sufficiently pleasing plan or if any errors occur during planning.