GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/13893
[SPARK-14172][SQL] Hive table partition predicate not passed down correctly
## What changes were proposed in this pull request?
Currently partition predicate is not passed down correctly when condition
contains nondeterministic parts. This PR changed the logic in
collectProjectsAndFilters() to add the deterministic parts into filters, so
that partition predicate can be passed down correctly.
## How was this patch tested?
new test in PruningSuite.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark bugfix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13893.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 #13893
----
commit ce6f0b8186dd18301e5087d16a5139057c42ab77
Author: èæå <[email protected]>
Date: 2016-06-24T11:53:08Z
[SPARK-14172][SQL] Hive table partition predicate not passed down correctly
----
---
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]