GitHub user dongjoon-hyun opened a pull request:

    https://github.com/apache/spark/pull/12122

    [SPARK-14338][SQL] Improve `SimplifyConditionals` rule to handle `null` in 
IF/CASEWHEN

    ## What changes were proposed in this pull request?
    
    Currently, `SimplifyConditionals` handles `true` and `false` to optimize 
branches. This issue improves `SimplifyConditionals` to take advantage of 
`null` conditions for `if` and `CaseWhen` expressions, too.
    
    ## How was this patch tested?
    
    Pass the Jenkins tests (including new extended test cases).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-14338

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12122.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 #12122
    
----
commit 22bb31f7eb7217aa5f6d9541d56d18b9aaeb3735
Author: Dongjoon Hyun <[email protected]>
Date:   2016-04-01T23:49:06Z

    [SPARK-14338][SQL] Improve `SimplifyConditionals` rule to handle `null` in 
IF/CASEWHEN

----


---
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]

Reply via email to