spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-12919][SPARKR] Implement dapply() on Da...
Date Fri, 22 Apr 2016 00:47:26 GMT
Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12493#discussion_r60677343
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -1137,11 +1137,22 @@ setMethod("summarize",
     #' @rdname dapply
     #' @name dapply
     #' @export
    +#' @examples
    +#' \dontrun{
    +#'   df <- createDataFrame (sqlContext, mtcars)
    +#'   df1 <- dapply(df, function(x) { x }, schema(df))
    --- End diff --
    
    could we have an more elaborate example to explain how `func` should expect or handle
"each partition of the DataFrame"?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message