diff options
author | Cheng Hao <hao.cheng@intel.com> | 2015-05-20 19:09:47 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-05-20 19:09:47 +0800 |
commit | 09265ad7c85c6de6b568ec329daad632d4a79fa3 (patch) | |
tree | 456111dab186b98723d6c443624ee64a42237ad2 /docs | |
parent | b3abf0b8d9bca13840eb759953d76905c2ba9b8a (diff) | |
download | spark-09265ad7c85c6de6b568ec329daad632d4a79fa3.tar.gz spark-09265ad7c85c6de6b568ec329daad632d4a79fa3.tar.bz2 spark-09265ad7c85c6de6b568ec329daad632d4a79fa3.zip |
[SPARK-7320] [SQL] Add Cube / Rollup for dataframe
Add `cube` & `rollup` for DataFrame
For example:
```scala
testData.rollup($"a" + $"b", $"b").agg(sum($"a" - $"b"))
testData.cube($"a" + $"b", $"b").agg(sum($"a" - $"b"))
```
Author: Cheng Hao <hao.cheng@intel.com>
Closes #6257 from chenghao-intel/rollup and squashes the following commits:
7302319 [Cheng Hao] cancel the implicit keyword
a66e38f [Cheng Hao] remove the unnecessary code changes
a2869d4 [Cheng Hao] update the code as comments
c441777 [Cheng Hao] update the code as suggested
84c9564 [Cheng Hao] Remove the CubedData & RollupedData
279584c [Cheng Hao] hiden the CubedData & RollupedData
ef357e1 [Cheng Hao] Add Cube / Rollup for dataframe
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions