You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/01/09 05:41:58 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15810748#comment-15810748 ]
Apache Spark commented on SPARK-18335:
--------------------------------------
User 'felixcheung' has created a pull request for this issue:
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
>
> 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