GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/5369
[SPARK-6715][SQL] Eliminate duplicate filters from pushdown predicates
Now in `DataSourceStrategy`, the pushdown predicates are duplicate of
original `Filter` conditions. Thus, some predicates are performed both by data
source relation and `Filter` plan. I think it is a duplicate loading. Once the
predicates are pushed down and performed by a data source relation, it
can be eliminated from outside `Filter` plan's condition.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 de_dup_filter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5369.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 #5369
----
commit 86162521d71462559cbd5886de491b57020b1518
Author: Liang-Chi Hsieh <[email protected]>
Date: 2015-04-05T13:45:22Z
Eliminate duplicate filters from pushdown predicates.
----
---
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]