You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:14:47 UTC

[jira] [Resolved] (SPARK-20083) Change matrix toArray to not create a new array when matrix is already column major

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

Hyukjin Kwon resolved SPARK-20083.
----------------------------------
    Resolution: Incomplete

> Change matrix toArray to not create a new array when matrix is already column major
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-20083
>                 URL: https://issues.apache.org/jira/browse/SPARK-20083
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.2.0
>            Reporter: Seth Hendrickson
>            Priority: Minor
>              Labels: bulk-closed
>
> {{toArray}} always creates a new array in column major format, even when the resulting array is the same as the backing values. We should change this to just return a reference to the values array when it is already column major.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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