You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by scwf <gi...@git.apache.org> on 2017/01/25 02:49:37 UTC

[GitHub] spark pull request #16677: [SPARK-19355][SQL] Use map output statistices to ...

Github user scwf commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16677#discussion_r97700568
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/physical/partitioning.scala ---
    @@ -230,6 +230,21 @@ case object SinglePartition extends Partitioning {
     }
     
     /**
    + * Represents a partitioning where rows are only serialized/deserialized locally. The number
    + * of partitions are not changed and also the distribution of rows. This is mainly used to
    + * obtain some statistics of map tasks such as number of outputs.
    + */
    +case class FakePartitioning(orgPartition: Partitioning, numPartitions: Int) extends Partitioning {
    --- End diff --
    
    how about `LocalPartitioning`


---
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