You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/11/07 21:22:58 UTC

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

Shixiong Zhu created SPARK-18335:
------------------------------------

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


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