GitHub user sameeragarwal opened a pull request:

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

    [SPARK-17228][SQL] Not infer/propagate non-deterministic constraints

    ## What changes were proposed in this pull request?
    
    Given that filters based on non-deterministic constraints shouldn't be 
pushed down in the query plan, unnecessarily inferring them is confusing and a 
source of potential bugs. This patch simplifies the inferring logic by simply 
ignoring them.
    
    ## How was this patch tested?
    
    Added a new test in `ConstraintPropagationSuite`.


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

    $ git pull https://github.com/sameeragarwal/spark deterministic-constraints

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

    https://github.com/apache/spark/pull/14795.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 #14795
    
----
commit 5be265b764921e5f448681ac566ff415a16eb321
Author: Sameer Agarwal <[email protected]>
Date:   2016-08-24T20:20:05Z

    Not infer/propagate non-deterministic constraints

----


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