Skip to content

Commit b0407b5

Browse files
author
Wayne Zhang
committed
address comments
1 parent 796a8e7 commit b0407b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/vignettes/sparkr-vignettes.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ result <- gapply(
405405
head(arrange(result, "max_mpg", decreasing = TRUE))
406406
```
407407

408-
Like gapply, `gapplyCollect` applies a function to each partition of a `SparkDataFrame` and collect the result back to R `data.frame`. The output of the function should be a `data.frame` but no schema is required in this case. Note that `gapplyCollect` can fail if the output of the UDF on all partitions cannot be pulled into the driver's memory.
408+
Like `gapply`, `gapplyCollect` can apply a function to each partition of a `SparkDataFrame` and collect the result back to R `data.frame`. The output of the function should be a `data.frame` but no schema is required in this case. Note that `gapplyCollect` can fail if the output of the UDF on all partitions cannot be pulled into the driver's memory.
409409

410410
```{r}
411411
result <- gapplyCollect(

0 commit comments

Comments
 (0)