Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10281#discussion_r47449336
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -614,12 +641,25 @@ setMethod("toJSON",
     #' sqlContext <- sparkRSQL.init(sc)
     #' path <- "path/to/file.json"
     #' df <- read.json(sqlContext, path)
    -#' saveAsParquetFile(df, "/tmp/sparkr-tmp/")
    +#' write.parquet(df, "/tmp/sparkr-tmp1/")
    +#' saveAsParquetFile(df, "/tmp/sparkr-tmp2/")
     #'}
    +setMethod("write.parquet",
    +          signature(x = "DataFrame", path = "character"),
    +          function(x, path) {
    +            write <- callJMethod(x@sdf, "write")
    +            invisible(callJMethod(write, "parquet", path))
    +          })
    +
    +#' @family DataFrame functions
    --- End diff --
    
    putting @family here would create multiple "See Also" section in the 
resulting html page, we would only need one for all those with the same @rdname


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to