GitHub user gatorsmile opened a pull request:

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

    [SPARK-22759] [SQL] Filters can be combined iff both are deterministic

    ## What changes were proposed in this pull request?
    The query execution/optimization does not guarantee the expressions are 
evaluated in order. We only can combine them if and only if both are 
deterministic. We need to update the optimizer rule: CombineFilters.
    
    ## How was this patch tested?
    Updated the existing tests.

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

    $ git pull https://github.com/gatorsmile/spark combineFilters

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

    https://github.com/apache/spark/pull/19947.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 #19947
    
----
commit e726f548478c769c061a52ead12948239792a404
Author: gatorsmile <[email protected]>
Date:   2017-12-12T00:49:09Z

    fix.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to