Functions.Grouping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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