[ 
https://issues.apache.org/jira/browse/SPARK-16302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355662#comment-15355662
 ] 

Apache Spark commented on SPARK-16302:
--------------------------------------

User 'lianhuiwang' has created a pull request for this issue:
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: Bug
>          Components: SQL
>            Reporter: Lianhui Wang
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to