Function transform::dataflow::optimize_dataflow[][src]

pub fn optimize_dataflow(
    dataflow: &mut DataflowDesc,
    indexes: &HashMap<GlobalId, Vec<(GlobalId, Vec<MirScalarExpr>)>>
) -> Result<(), TransformError>
Expand description

Optimizes the implementation of each dataflow.

Inlines views, performs a full optimization pass including physical planning using the supplied indexes, propagates filtering and projection information to dataflow sources and lifts monotonicity information.