Repository: spark Updated Branches: refs/heads/master b694eb9c2 -> 03bf704bf
Remove outdated remark about take(n). Looking at the code, I believe this remark about `take(n)` computing partitions on the driver is no longer correct. Apologies if I'm wrong. This came up in http://stackoverflow.com/q/28436559/3318517. Author: Daniel Darabos <darabos.dan...@gmail.com> Closes #4533 from darabos/patch-2 and squashes the following commits: cc80f3a [Daniel Darabos] Remove outdated remark about take(n). Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/03bf704b Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/03bf704b Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/03bf704b Branch: refs/heads/master Commit: 03bf704bf442ac7dd960795295b51957ce972491 Parents: b694eb9 Author: Daniel Darabos <darabos.dan...@gmail.com> Authored: Wed Feb 11 20:24:17 2015 +0000 Committer: Sean Owen <so...@cloudera.com> Committed: Wed Feb 11 20:24:17 2015 +0000 ---------------------------------------------------------------------- docs/programming-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/03bf704b/docs/programming-guide.md ---------------------------------------------------------------------- diff --git a/docs/programming-guide.md b/docs/programming-guide.md index 6b365e8..1187015 100644 --- a/docs/programming-guide.md +++ b/docs/programming-guide.md @@ -975,7 +975,7 @@ for details. </tr> <tr> <td> <b>take</b>(<i>n</i>) </td> - <td> Return an array with the first <i>n</i> elements of the dataset. Note that this is currently not executed in parallel. Instead, the driver program computes all the elements. </td> + <td> Return an array with the first <i>n</i> elements of the dataset. </td> </tr> <tr> <td> <b>takeSample</b>(<i>withReplacement</i>, <i>num</i>, [<i>seed</i>]) </td> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org