Sun Rui created SPARK-15202:
-------------------------------

             Summary: add dapplyCollect() method for DataFrame in SparkR
                 Key: SPARK-15202
                 URL: https://issues.apache.org/jira/browse/SPARK-15202
             Project: Spark
          Issue Type: New Feature
          Components: SparkR
    Affects Versions: 1.6.1
            Reporter: Sun Rui


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:
{code}
  dapplyCollect(df, function(ldf) {...})
{code}
R function input: local data.frame from the partition on local node
R function output: local data.frame



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to