Run the MIR dataflow optimizer in [`Self::finish`] before lowering. Off by default: the builder otherwise lowers the caller's MIR faithfully (the contract above). Enable it for plans that don't lower from raw MIR — notably a `Join`, whose `implementation` defaults to `Unimplemented` and is rejected by the LIR lowering until [`mz_transform::optimize_dataflow`]'s `JoinImplementation` fills it in —
(&mut self)
| 404 | /// fills it in — or to reproduce the plan `environmentd` would ship for a logical |
| 405 | /// expression rather than the literal one written. |
| 406 | pub fn optimize(&mut self) -> &mut Self { |
| 407 | self.optimize = true; |
| 408 | self |
| 409 | } |
| 410 | |
| 411 | /// Lower the accumulated MIR and attach persist wiring, producing the |
| 412 | /// `DataflowDescription` the compute protocol expects. |
no outgoing calls
no test coverage detected