WindowSpec.PartitionBy Method

Definition

Overloads

PartitionBy(Column[])

Defines the partitioning columns in a WindowSpec.

PartitionBy(String, String[])

Defines the partitioning columns in a WindowSpec.

PartitionBy(Column[])

Defines the partitioning columns in a WindowSpec.

public Microsoft.Spark.Sql.Expressions.WindowSpec PartitionBy (params Microsoft.Spark.Sql.Column[] columns);
member this.PartitionBy : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function PartitionBy (ParamArray columns As Column()) As WindowSpec

Parameters

columns
Column[]

Column expressions

Returns

WindowSpec object

Applies to

PartitionBy(String, String[])

Defines the partitioning columns in a WindowSpec.

public Microsoft.Spark.Sql.Expressions.WindowSpec PartitionBy (string colName, params string[] colNames);
member this.PartitionBy : string * string[] -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function PartitionBy (colName As String, ParamArray colNames As String()) As WindowSpec

Parameters

colName
String

Name of column

colNames
String[]

Additional column names

Returns

WindowSpec object

Applies to