Optimizes the supplied relation expression in place, using available arrangements. This method should only be called with non-empty `indexes` when optimizing a dataflow, as the optimizations may lock in the use of arrangements that may cease to exist.
(
&self,
relation: &mut MirRelationExpr,
args: &mut TransformCtx,
)
| 1033 | /// This method should only be called with non-empty `indexes` when optimizing a dataflow, |
| 1034 | /// as the optimizations may lock in the use of arrangements that may cease to exist. |
| 1035 | fn transform( |
| 1036 | &self, |
| 1037 | relation: &mut MirRelationExpr, |
| 1038 | args: &mut TransformCtx, |
| 1039 | ) -> Result<(), TransformError> { |
| 1040 | args.update_last_hash(relation); |
| 1041 | |
| 1042 | for transform in self.transforms.iter() { |
| 1043 | transform.transform(relation, args)?; |
| 1044 | } |
| 1045 | |
| 1046 | Ok(()) |
| 1047 | } |
| 1048 | } |
no test coverage detected