You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2016/09/02 00:15:22 UTC
[jira] [Resolved] (SPARK-16302) Set the right number of partitions
for reading data from a local collection.
[ https://issues.apache.org/jira/browse/SPARK-16302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-16302.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Issue resolved by pull request 13979
[https://github.com/apache/spark/pull/13979]
> Set the right number of partitions for reading data from a local collection.
> ----------------------------------------------------------------------------
>
> Key: SPARK-16302
> URL: https://issues.apache.org/jira/browse/SPARK-16302
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Lianhui Wang
> Priority: Minor
> Fix For: 2.1.0
>
>
> query: val df = Seq[(Int, Int)]().toDF("key", "value").count it always use defaultParallelism tasks. So i cause run empty or small tasks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org