Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6817 DataFrame UDFs in R
  3. SPARK-15202

add dapplyCollect() method for DataFrame in SparkR

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 2.0.0
    • SparkR
    • None

    Description

      dapplyCollect() applies an R function on each partition of a SparkDataFrame and collects the result back to R as a data.frame.

      The signature of dapplyCollect() is as follows:

        dapplyCollect(df, function(ldf) {...})
      

      R function input: local data.frame from the partition on local node
      R function output: local data.frame

      Attachments

        Activity

          People

            sunrui Sun Rui
            sunrui Sun Rui
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: