Form the Cartesian outer-product of rows in both inputs.
(mut self, right: Self)
| 1232 | |
| 1233 | /// Form the Cartesian outer-product of rows in both inputs. |
| 1234 | pub fn product(mut self, right: Self) -> Self { |
| 1235 | if right.is_constant_singleton() { |
| 1236 | self |
| 1237 | } else if self.is_constant_singleton() { |
| 1238 | right |
| 1239 | } else if let MirRelationExpr::Join { inputs, .. } = &mut self { |
| 1240 | inputs.push(right); |
| 1241 | self |
| 1242 | } else { |
| 1243 | MirRelationExpr::join(vec![self, right], vec![]) |
| 1244 | } |
| 1245 | } |
| 1246 | |
| 1247 | /// Performs a relational equijoin among the input collections. |
| 1248 | /// |
no test coverage detected