MCPcopy Create free account
hub / github.com/apache/datafusion / cross_join

Method cross_join

datafusion/expr/src/logical_plan/builder.rs:1247–1260  ·  view source on GitHub ↗

Apply a cross join

(self, right: LogicalPlan)

Source from the content-addressed store, hash-verified

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> {

Callers 15

join_usingMethod · 0.80
test_union_after_joinFunction · 0.80
plan_from_tablesMethod · 0.80
parse_cross_joinMethod · 0.80
try_into_logical_planMethod · 0.80
plan_relationMethod · 0.80
from_cross_relFunction · 0.80

Calls 2

newFunction · 0.85
JoinClass · 0.85