[ 
https://issues.apache.org/jira/browse/SPARK-16082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shivaram Venkataraman resolved SPARK-16082.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Resolved by https://github.com/apache/spark/pull/13790

> Refactor dapply's/dapplyCollect's documentation - remove duplicated comments
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-16082
>                 URL: https://issues.apache.org/jira/browse/SPARK-16082
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>            Reporter: Narine Kokhlikyan
>            Assignee: Narine Kokhlikyan
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Currently when we generate R documentation for dapply and dapplyCollect we 
> see some duplicated information.
> such as: 
> Arguments
> ``
> x   
> A SparkDataFrame
> func    
> A function to be applied to each partition of the SparkDataFrame. func should 
> have only one parameter, to which a data.frame corresponds to each partition 
> will be passed. The output of func should be a data.frame.
> schema  
> The schema of the resulting SparkDataFrame after the function is applied. It 
> must match the output of func.
> x   
> A SparkDataFrame
> func    
> A function to be applied to each partition of the SparkDataFrame. func should 
> have only one parameter, to which a data.frame corresponds to each partition 
> will be passed. The output of func should be a data.frame.
> See Also
> Other SparkDataFrame functions: SparkDataFrame-class, [[, agg, arrange, 
> as.data.frame, attach, cache, collect, colnames, coltypes, columns, count, 
> createOrReplaceTempView, describe, dim, distinct, dropDuplicates, dropna, 
> drop, dtypes, except, explain, filter, first, gapplyCollect, gapply, 
> group_by, head, histogram, insertInto, intersect, isLocal, join, limit, 
> merge, mutate, ncol, persist, printSchema, rename, repartition, sample, 
> saveAsTable, selectExpr, select, showDF, show, str, take, unionAll, 
> unpersist, withColumn, with, write.df, write.jdbc, write.json, write.parquet, 
> write.text
> Other SparkDataFrame functions: SparkDataFrame-class, [[, agg, arrange, 
> as.data.frame, attach, cache, collect, colnames, coltypes, columns, count, 
> createOrReplaceTempView, describe, dim, distinct, dropDuplicates, dropna, 
> drop, dtypes, except, explain, filter, first, gapplyCollect, gapply, 
> group_by, head, histogram, insertInto, intersect, isLocal, join, limit, 
> merge, mutate, ncol, persist, printSchema, rename, repartition, sample, 
> saveAsTable, selectExpr, select, showDF, show, str, take, unionAll, 
> unpersist, withColumn, with, write.df, write.jdbc, write.json, write.parquet, 
> write.text
> ``
> This happens because the @rdname of dapply and dapplyCollect refer to the 
> same file.



--
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