DataFrame.IntersectAll(DataFrame) Method

Definition

Returns a new DataFrame containing rows only in both this DataFrame and another DataFrame while preserving the duplicates.

[Microsoft.Spark.Since("2.4.0")]
public Microsoft.Spark.Sql.DataFrame IntersectAll (Microsoft.Spark.Sql.DataFrame other);
[<Microsoft.Spark.Since("2.4.0")>]
member this.IntersectAll : Microsoft.Spark.Sql.DataFrame -> Microsoft.Spark.Sql.DataFrame
Public Function IntersectAll (other As DataFrame) As DataFrame

Parameters

other
DataFrame

Other DataFrame

Returns

DataFrame object

Attributes

Remarks

This is equivalent to INTERSECT ALL in SQL.

Applies to