GitHub user sameeragarwal opened a pull request:
https://github.com/apache/spark/pull/14815
[SPARK-17244] Catalyst should not pushdown non-deterministic join conditions
## What changes were proposed in this pull request?
Given that non-deterministic expressions can be stateful, pushing them down
the query plan during the optimization phase can cause incorrect behavior. This
patch fixes that issue by explicitly disabling that.
## How was this patch tested?
A new test in `FilterPushdownSuite` that checks catalyst behavior for both
deterministic and non-deterministic join conditions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sameeragarwal/spark constraint-inputfile
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14815.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 #14815
----
commit 95150970d7e5a71d9271a209a8ee453ce20f8097
Author: Sameer Agarwal <[email protected]>
Date: 2016-08-24T19:37:33Z
Joins should not pushdown non-deterministic conditions
commit 6728fc31bab1fd53e1005f892496ec61b6d22cd0
Author: Sameer Agarwal <[email protected]>
Date: 2016-08-25T20:45:32Z
unit test
----
---
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]