GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/10716
[SPARK-12762][SQL] Add unit test for simplifying if expression.
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-12762
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10716.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10716
----
commit 98a3b038dcd8de00502e7192e0bb6ebe13c4b338
Author: Reynold Xin <[email protected]>
Date: 2016-01-12T03:03:32Z
[SPARK-12762][SQL] Add unit test for simplifying if expression.
commit 7ba85c21e207b3ff0bfc8356a888f2e395a1f139
Author: Reynold Xin <[email protected]>
Date: 2016-01-12T03:04:54Z
Unit test.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]