Skip to main content

plan

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],
    optimizer_features: &OptimizerFeatures,
) -> 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.