Apply a cross join
(self, right: LogicalPlan)
| 1245 | |
| 1246 | /// Apply a cross join |
| 1247 | pub fn cross_join(self, right: LogicalPlan) -> Result<Self> { |
| 1248 | let join = Join::try_new( |
| 1249 | self.plan, |
| 1250 | Arc::new(right), |
| 1251 | vec![], |
| 1252 | None, |
| 1253 | JoinType::Inner, |
| 1254 | JoinConstraint::On, |
| 1255 | NullEquality::NullEqualsNothing, |
| 1256 | false, // null_aware |
| 1257 | )?; |
| 1258 | |
| 1259 | Ok(Self::new(LogicalPlan::Join(join))) |
| 1260 | } |
| 1261 | |
| 1262 | /// Repartition |
| 1263 | pub fn repartition(self, partitioning_scheme: Partitioning) -> Result<Self> { |