Repository: spark Updated Branches: refs/heads/branch-1.3 d66aae217 -> 72adfc595
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). (cherry picked from commit 03bf704bf442ac7dd960795295b51957ce972491) Signed-off-by: Sean Owen <so...@cloudera.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/72adfc59 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/72adfc59 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/72adfc59 Branch: refs/heads/branch-1.3 Commit: 72adfc59563143ed70f563eb3f84714cb8a61d3b Parents: d66aae2 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:26 2015 +0000 ---------------------------------------------------------------------- docs/programming-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/72adfc59/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