[
https://issues.apache.org/jira/browse/SPARK-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14203370#comment-14203370
]
Apache Spark commented on SPARK-1344:
-------------------------------------
User 'srowen' has created a pull request for this issue:
https://github.com/apache/spark/pull/3168
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]