fn optimize_dataflow_index_imports(
    dataflow: &mut DataflowDesc,
    indexes: &dyn IndexOracle
) -> Result<(), TransformError>
Expand description

Restricts the indexes imported by dataflow to only the ones it needs.

The input dataflow should import all indexes belonging to all views it references.