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

Add a numSlices parameter to SparkR's createDataFrame

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • SparkR
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: