DataFrame.Cube 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
Cube(Column[]) |
Create a multi-dimensional cube for the current |
Cube(String, String[]) |
Create a multi-dimensional cube for the current |
Cube(Column[])
Create a multi-dimensional cube for the current DataFrame
using the
specified columns.
public Microsoft.Spark.Sql.RelationalGroupedDataset Cube (params Microsoft.Spark.Sql.Column[] columns);
member this.Cube : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.RelationalGroupedDataset
Public Function Cube (ParamArray columns As Column()) As RelationalGroupedDataset
Parameters
- columns
- Column[]
Column expressions
Returns
RelationalGroupedDataset object
Applies to
Cube(String, String[])
Create a multi-dimensional cube for the current DataFrame
using the
specified columns.
public Microsoft.Spark.Sql.RelationalGroupedDataset Cube (string column, params string[] columns);
member this.Cube : string * string[] -> Microsoft.Spark.Sql.RelationalGroupedDataset
Public Function Cube (column As String, ParamArray columns As String()) As RelationalGroupedDataset
Parameters
- column
- String
Column name
- columns
- String[]
Additional column names
Returns
RelationalGroupedDataset object