[
https://issues.apache.org/jira/browse/SPARK-7320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537498#comment-14537498
]
Cheng Hao commented on SPARK-7320:
----------------------------------
After investigation, we need to refactor the GROUPING_SETS first, otherwise the
code would be complicated.
> Add rollup and cube support to DataFrame DSL
> --------------------------------------------
>
> Key: SPARK-7320
> URL: https://issues.apache.org/jira/browse/SPARK-7320
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Labels: starter
>
> We should add two functions to GroupedData in order to support rollup and
> cube for the DataFrame DSL.
> {code}
> def rollup(): GroupedData
> def cube(): GroupedData
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]