Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-18335

Add a numSlices parameter to SparkR's createDataFrame

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: SparkR
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              felixcheung Felix Cheung
              Reporter:
              zsxwing Shixiong Zhu
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: