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

Ruifeng Zheng resolved SPARK-58906.
-----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 58166
[https://github.com/apache/spark/pull/58166]

> Make PySpark vector and matrix UDTs singletons
> ----------------------------------------------
>
>                 Key: SPARK-58906
>                 URL: https://issues.apache.org/jira/browse/SPARK-58906
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML, PySpark
>    Affects Versions: 5.0.0
>            Reporter: Ruifeng Zheng
>            Assignee: Ruifeng Zheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> PySpark VectorUDT and MatrixUDT are stateless. Make the pyspark.ml.linalg and 
> pyspark.mllib.linalg implementations use the existing DataTypeSingleton 
> metaclass so repeated construction and schema JSON round-trips reuse the same 
> Python UDT instances, matching the singleton direction in PR #57757.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to