You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2017/01/13 18:10:26 UTC

[jira] [Resolved] (SPARK-18335) Add a numSlices parameter to SparkR's createDataFrame

     [ https://issues.apache.org/jira/browse/SPARK-18335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shivaram Venkataraman resolved SPARK-18335.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.1.1

Issue resolved by pull request 16512
[https://github.com/apache/spark/pull/16512]

> Add a numSlices parameter to SparkR's createDataFrame
> -----------------------------------------------------
>
>                 Key: SPARK-18335
>                 URL: https://issues.apache.org/jira/browse/SPARK-18335
>             Project: Spark
>          Issue Type: Improvement
>          Components: SparkR
>            Reporter: Shixiong Zhu
>             Fix For: 2.1.1, 2.2.0
>
>
> SparkR's createDataFrame doesn't have a `numSlices` parameter. The user cannot set a partition number when converting a large R dataframe to SparkR dataframe. A workaround is using `repartition`, but it requires a shuffle stage. It's better to support the `numSlices` parameter in the `createDataFrame` method.



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