You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Hao (JIRA)" <ji...@apache.org> on 2015/05/11 04:30:59 UTC

[jira] [Commented] (SPARK-7320) Add rollup and cube support to DataFrame DSL

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org