spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <>
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:
    --- 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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message