GitHub user davies opened a pull request:

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

    [SPARK-14581] [SQL] push predicatese through more logical plans

    ## What changes were proposed in this pull request?
    
    Right now, filter push down only works with Project, Aggregate, Generate 
and Join, they can't be pushed through many other plans.
    
    This PR added support for Union, Intersect, Except and all unary plans.
    
    ## How was this patch tested?
    
    Added tests.
    


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

    $ git pull https://github.com/davies/spark filter_hint

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

    https://github.com/apache/spark/pull/12342.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 #12342
    
----
commit d43919c8fec28c0b31d3318f5df9942dfbbc024c
Author: Davies Liu <[email protected]>
Date:   2016-04-12T22:08:59Z

    improve filter push down

commit 2329623e2b899f1e782e4118f5b0ba89c023593d
Author: Davies Liu <[email protected]>
Date:   2016-04-12T22:47:32Z

    push filter for Union and intersect

----


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