Share via


DataFrame.CrossJoin(DataFrame) Method

Definition

Explicit Cartesian join with another DataFrame.

public Microsoft.Spark.Sql.DataFrame CrossJoin (Microsoft.Spark.Sql.DataFrame right);
member this.CrossJoin : Microsoft.Spark.Sql.DataFrame -> Microsoft.Spark.Sql.DataFrame
Public Function CrossJoin (right As DataFrame) As DataFrame

Parameters

right
DataFrame

Right side of the join operator

Returns

DataFrame object

Remarks

Cartesian joins are very expensive without an extra filter that can be pushed down.

Applies to