mz_transform::join_implementation::delta_queries

Function plan

Source
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 delta query plan, and any predicates that need to be lifted. It also returns the number of new arrangements necessary for this plan.

The method returns Err if any errors occur during planning.