aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorCheng Hao <hao.cheng@intel.com>2015-07-15 23:35:27 -0700
committerYin Huai <yhuai@databricks.com>2015-07-15 23:35:27 -0700
commite27212317c7341852c52d9a85137b8f94cb0d935 (patch)
tree91d508dff350e5122f7e662b0f36e15bc15ecc86 /R/pkg/NAMESPACE
parentba33096846dc8061e97a7bf8f3b46f899d530159 (diff)
downloadspark-e27212317c7341852c52d9a85137b8f94cb0d935.tar.gz
spark-e27212317c7341852c52d9a85137b8f94cb0d935.tar.bz2
spark-e27212317c7341852c52d9a85137b8f94cb0d935.zip
[SPARK-8972] [SQL] Incorrect result for rollup
We don't support the complex expression keys in the rollup/cube, and we even will not report it if we have the complex group by keys, that will cause very confusing/incorrect result. e.g. `SELECT key%100 FROM src GROUP BY key %100 with ROLLUP` This PR adds an additional project during the analyzing for the complex GROUP BY keys, and that projection will be the child of `Expand`, so to `Expand`, the GROUP BY KEY are always the simple key(attribute names). Author: Cheng Hao <hao.cheng@intel.com> Closes #7343 from chenghao-intel/expand and squashes the following commits: 1ebbb59 [Cheng Hao] update the comment 827873f [Cheng Hao] update as feedback 34def69 [Cheng Hao] Add more unit test and comments c695760 [Cheng Hao] fix bug of incorrect result for rollup
Diffstat (limited to 'R/pkg/NAMESPACE')
0 files changed, 0 insertions, 0 deletions