You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/04/09 11:18:41 UTC

[jira] [Reopened] (SPARK-20268) Arbitrary RDD element (Fast return) instead of using first

     [ https://issues.apache.org/jira/browse/SPARK-20268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen reopened SPARK-20268:
-------------------------------

> Arbitrary RDD element (Fast return) instead of using first
> ----------------------------------------------------------
>
>                 Key: SPARK-20268
>                 URL: https://issues.apache.org/jira/browse/SPARK-20268
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, Spark Core
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Hayri Volkan Agun
>            Priority: Minor
>
> Most of the ML and MLLIB algorithms somehow need the column size of the rdd vector (RDD[Vector]). So instead of getting the first element by rdd.first(), a fast return can be made to calculate the length of the vector of a arbitrary rdd element. It can also be be named any(). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org