We should add two functions to GroupedData in order to support rollup and cube for the DataFrame DSL.
def rollup(): GroupedData def cube(): GroupedData
These two should return new GroupedData with the appropriate state set so when we run an Aggregate, we translate the underlying logical operator into Rollup or Cube.
SPARK-7783 Add rollup and cube support to DataFrame Python DSL
- links to