GitHub user watermen opened a pull request:
https://github.com/apache/spark/pull/5045
[SPARK-6356]Support the 'ROLLUP' 'CUBE' 'GROUPING SETS' 'grouping() in
SQLContext'
Support for the expression below:
```
GROUP BY expression list WITH ROLLUP
GROUP BY expression list WITH CUBE
GROUP BY expression list GROUPING SETS(expression list2)
```
and
```
GROUP BY ROLLUP(expression list)
GROUP BY CUBE(expression list)
GROUP BY expression list GROUPING SETS(expression list2)
```
and
```
GROUPING (expression list)
```
/cc @scwf @chenghao-intel @haiyangsea
https://github.com/apache/spark/pull/3964
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/watermen/spark sql-grouping-set
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5045.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5045
----
commit f46458d1c0917dc636b618d4bfa4466373b2e5d2
Author: q00251598 <[email protected]>
Date: 2015-03-16T12:09:41Z
Support the 'ROLLUP' 'CUBE' 'GROUPING SETS' 'grouping() in SQLContext'
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]