diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-03-24 00:51:31 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2016-03-24 00:51:31 +0800 |
commit | 6ce008ba46aa1fc8a5c222ce0f25a6d81f53588e (patch) | |
tree | 8d0f2ebe3aea31f2a36c9e9a85e2ac15ab526841 /core/src/test/java | |
parent | cde086cb2a9a85406fc18d8e63e46425f614c15f (diff) | |
download | spark-6ce008ba46aa1fc8a5c222ce0f25a6d81f53588e.tar.gz spark-6ce008ba46aa1fc8a5c222ce0f25a6d81f53588e.tar.bz2 spark-6ce008ba46aa1fc8a5c222ce0f25a6d81f53588e.zip |
[SPARK-13549][SQL] Refactor the Optimizer Rule CollapseProject
#### What changes were proposed in this pull request?
The PR https://github.com/apache/spark/pull/10541 changed the rule `CollapseProject` by enabling collapsing `Project` into `Aggregate`. It leaves a to-do item to remove the duplicate code. This PR is to finish this to-do item. Also added a test case for covering this change.
#### How was this patch tested?
Added a new test case.
liancheng Could you check if the code refactoring is fine? Thanks!
Author: gatorsmile <gatorsmile@gmail.com>
Closes #11427 from gatorsmile/collapseProjectRefactor.
Diffstat (limited to 'core/src/test/java')
0 files changed, 0 insertions, 0 deletions