Functions.Grouping Method

Definition

Overloads

Grouping(Column)

Indicates whether a specified column in a GROUP BY list is aggregated or not, returning 1 for aggregated or 0 for not aggregated in the result set.

Grouping(String)

Indicates whether a specified column in a GROUP BY list is aggregated or not, returning 1 for aggregated or 0 for not aggregated in the result set.

Grouping(Column)

Indicates whether a specified column in a GROUP BY list is aggregated or not, returning 1 for aggregated or 0 for not aggregated in the result set.

public static Microsoft.Spark.Sql.Column Grouping (Microsoft.Spark.Sql.Column column);
static member Grouping : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Grouping (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Applies to

Grouping(String)

Indicates whether a specified column in a GROUP BY list is aggregated or not, returning 1 for aggregated or 0 for not aggregated in the result set.

public static Microsoft.Spark.Sql.Column Grouping (string columnName);
static member Grouping : string -> Microsoft.Spark.Sql.Column
Public Shared Function Grouping (columnName As String) As Column

Parameters

columnName
String

Column name

Returns

Column object

Applies to