GitHub user liancheng opened a pull request:

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

    [SPARK-13473][SQL] Don't push predicate through project with 
nondeterministic field(s)

    ## What changes were proposed in this pull request?
    
    Predicates shouldn't be pushed through project with nondeterministic 
field(s).
    
    See https://github.com/graphframes/graphframes/pull/23 and SPARK-13473 for 
more details.
    
    This PR targets both master and branch-1.6.
    
    ## How was this patch tested?
    
    A test case is added in `FilterPushdownSuite`. It constructs a query plan 
where a filter is over a project with a nondeterministic field. Optimized query 
plan shouldn't change in this case.

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

    $ git pull https://github.com/liancheng/spark 
spark-13473-no-ppd-through-nondeterministic-project-field

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

    https://github.com/apache/spark/pull/11348.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 #11348
    
----
commit 0f3175a3cd4ed37b36dd60d63ae7cd843ff16ee8
Author: Cheng Lian <[email protected]>
Date:   2016-02-24T18:23:46Z

    Don't push predicate through project with nondeterministic field(s)

----


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