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

Takeshi Yamamuro commented on SPARK-15247:
------------------------------------------

You tried this in master? Seems this issue has been fixed there; small files 
are packed into a single partition. Please check 
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategy.scala#L46

> sqlCtx.read.parquet yields at least n_executors * n_cores tasks
> ---------------------------------------------------------------
>
>                 Key: SPARK-15247
>                 URL: https://issues.apache.org/jira/browse/SPARK-15247
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Johnny W.
>
> sqlCtx.read.parquet always yields at least n_executors * n_cores tasks, no 
> matter how small the input file is.
> This issue can increase the latency for small jobs.



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