GitHub user ericl opened a pull request: https://github.com/apache/spark/pull/14425
[SPARK-16818] Exchange reuse incorrectly reuses scans over different sets of partitions ## What changes were proposed in this pull request? This fixes a bug wherethe file scan operator does not take into account partition pruning in its implementation of `sameResult()`. As a result, executions may be incorrect on self-joins over the same base file relation. The patch here is minimal, but maybe we should reconsider using a metadata map for implementing sameResult() in the future. cc @rxin ## How was this patch tested? Unit tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ericl/spark spark-16818 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14425.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 #14425 ---- commit e7e545fd8f7455a653c2bcee4e42a0e5249791f9 Author: Eric Liang <e...@databricks.com> Date: 2016-07-30T22:02:48Z Sat Jul 30 15:02:48 PDT 2016 ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org