diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-02-29 10:10:04 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2016-02-29 10:10:04 -0800 |
commit | bc65f60ef7c920db756bfe643f7edbdf3593a989 (patch) | |
tree | 8658cdea72665ecc10f3e50104529eb155b2726c /core | |
parent | 02aa499dfb71bc9571bebb79e6383842e4f48143 (diff) | |
download | spark-bc65f60ef7c920db756bfe643f7edbdf3593a989.tar.gz spark-bc65f60ef7c920db756bfe643f7edbdf3593a989.tar.bz2 spark-bc65f60ef7c920db756bfe643f7edbdf3593a989.zip |
[SPARK-13544][SQL] Rewrite/Propagate Constraints for Aliases in Aggregate
#### What changes were proposed in this pull request?
After analysis by Analyzer, two operators could have alias. They are `Project` and `Aggregate`. So far, we only rewrite and propagate constraints if `Alias` is defined in `Project`. This PR is to resolve this issue in `Aggregate`.
#### How was this patch tested?
Added a test case for `Aggregate` in `ConstraintPropagationSuite`.
marmbrus sameeragarwal
Author: gatorsmile <gatorsmile@gmail.com>
Closes #11422 from gatorsmile/validConstraintsInUnaryNodes.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions