You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by marmbrus <gi...@git.apache.org> on 2014/08/21 03:08:51 UTC

[GitHub] spark pull request: [SPARK-2967][SQL] Follow-up: Also copy hash ex...

GitHub user marmbrus opened a pull request:

    https://github.com/apache/spark/pull/2072

    [SPARK-2967][SQL]  Follow-up: Also copy hash expressions in sort based shuffle fix.

    Follow-up to #2066

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/marmbrus/spark sortShuffle

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2072.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 #2072
    
----
commit 2ff811455a20d7651a817dec98db06ff3778cab5
Author: Michael Armbrust <mi...@databricks.com>
Date:   2014-08-21T01:06:23Z

    Fix bug

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-2967][SQL] Follow-up: Also copy hash ex...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/2072


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-2967][SQL] Follow-up: Also copy hash ex...

Posted by chenghao-intel <gi...@git.apache.org>.
Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2072#discussion_r16519218
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Exchange.scala ---
    @@ -46,12 +46,15 @@ case class Exchange(newPartitioning: Partitioning, child: SparkPlan) extends Una
           case HashPartitioning(expressions, numPartitions) =>
             // TODO: Eliminate redundant expressions in grouping key and value.
             val rdd = child.execute().mapPartitions { iter =>
    -          @transient val hashExpressions =
    -            newMutableProjection(expressions, child.output)()
    -
               if (sortBasedShuffleOn) {
    +            @transient val hashExpressions =
    --- End diff --
    
    Can we remove the @transient ?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-2967][SQL] Follow-up: Also copy hash ex...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/2072#issuecomment-52867426
  
      [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/19026/consoleFull) for   PR 2072 at commit [`2ff8114`](https://github.com/apache/spark/commit/2ff811455a20d7651a817dec98db06ff3778cab5).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-2967][SQL] Follow-up: Also copy hash ex...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/2072#issuecomment-52871858
  
      [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/19026/consoleFull) for   PR 2072 at commit [`2ff8114`](https://github.com/apache/spark/commit/2ff811455a20d7651a817dec98db06ff3778cab5).
     * This patch **passes** unit tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org