GitHub user jeanlyn opened a pull request: https://github.com/apache/spark/pull/6682
[SPARK-2205][SPARK-7871][SQL]Advoid redundancy exchange When only use the output partitioning of `BinaryNode` will probably add unnecessary `Exchange` like multiway join. This PR add `meetPartitions ` to SparkPlan advoid redundancy exchanges by use to save the partitioning of the node and the child,and will be reset to node partitioning when need shuffle. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jeanlyn/spark addMeetRequire Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/6682.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 #6682 ---- commit 7e52db3e6ff6e2dffe0c599730b8019319fda185 Author: jeanlyn <jeanly...@gmail.com> Date: 2015-06-06T10:22:57Z remove unnecessary exchange ---- --- 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