diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-12 10:58:57 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-12 10:58:57 -0800 |
commit | 1d8887953018b2e12b6ee47a76e50e542c836b80 (patch) | |
tree | 9ca1109fa245116ffb3e359196286b2671a75a2c /sql/core | |
parent | 7e15044d9d9f9839c8d422bae71f27e855d559b4 (diff) | |
download | spark-1d8887953018b2e12b6ee47a76e50e542c836b80.tar.gz spark-1d8887953018b2e12b6ee47a76e50e542c836b80.tar.bz2 spark-1d8887953018b2e12b6ee47a76e50e542c836b80.zip |
[SPARK-12762][SQL] Add unit test for SimplifyConditionals optimization rule
This pull request does a few small things:
1. Separated if simplification from BooleanSimplification and created a new rule SimplifyConditionals. In the future we can also simplify other conditional expressions here.
2. Added unit test for SimplifyConditionals.
3. Renamed SimplifyCaseConversionExpressionsSuite to SimplifyStringCaseConversionSuite
Author: Reynold Xin <rxin@databricks.com>
Closes #10716 from rxin/SPARK-12762.
Diffstat (limited to 'sql/core')
0 files changed, 0 insertions, 0 deletions