spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scwf <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-8968] [SQL] shuffled by the partition c...
Date Fri, 10 Jul 2015 05:15:52 GMT
Github user scwf commented on the pull request:

    https://github.com/apache/spark/pull/7336#issuecomment-120229996
  
    >This patch we shuffle data by the partition columns firstly so that each partition
will have ony one partition file and this also reduce the gc overhead.
    
    @liancheng here i am not mean the partition of spark rdd, i mean for each partition for
the table such as `.../a=2/b=5` there will be only one file. before this where maybe many
small files under the partition dir.
    
    @cloud-fan @liancheng I have tested this patch and it shows that the performance not become
bad(in my situation, it improved 20%-30%).
    Anyway i will also have a try to use ExternalSorter to do a local sorting  and will report
the performance later.


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


Mime
View raw message