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/07/20 07:15:00 UTC

[jira] [Commented] (SPARK-21483) Make org.apache.spark.ml.linalg.Vector bean-compliant so it can be used in Encoders.bean(Vector.class)

    [ https://issues.apache.org/jira/browse/SPARK-21483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094283#comment-16094283 ] 

Sean Owen commented on SPARK-21483:
-----------------------------------

(Not major, and I don't think I'd open multiple JIRAs)
A Vector is not conceptually a bean. Again, why must it be a bean? it can be encoded otherwise.

> Make org.apache.spark.ml.linalg.Vector bean-compliant so it can be used in Encoders.bean(Vector.class)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21483
>                 URL: https://issues.apache.org/jira/browse/SPARK-21483
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.1.0
>            Reporter: Aseem Bansal
>            Priority: Minor
>
> The class org.apache.spark.ml.linalg.Vector is currently not bean-compliant as per spark.
> This makes it impossible to create a Vector via a dataset.tranform. It should be made bean-compliant so it can be used.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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