You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/11/10 02:43:33 UTC
[jira] [Resolved] (SPARK-1344) Scala API docs for top methods
[ https://issues.apache.org/jira/browse/SPARK-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Wendell resolved SPARK-1344.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Assignee: Sean Owen
> Scala API docs for top methods
> ------------------------------
>
> Key: SPARK-1344
> URL: https://issues.apache.org/jira/browse/SPARK-1344
> Project: Spark
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 0.9.0
> Reporter: Diana Carroll
> Assignee: Sean Owen
> Fix For: 1.2.0
>
>
> The RDD.top() methods are documented as follows:
> bq. Returns the top *K* elements from this RDD using the natural ordering for *T*.
> bq. Returns the top *K* elements from this RDD as defined by the specified Comparator[[T]].
> I believe those should read
> bq. Returns the top *num* elements from this RDD using the natural ordering for *K*.
> bq. Returns the top *num* elements from this RDD as defined by the specified Comparator[[K]].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org