You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2026/08/20 23:54:00 UTC
[jira] [Assigned] (SPARK-58906) Make PySpark vector and matrix UDTs singletons
[ https://issues.apache.org/jira/browse/SPARK-58906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruifeng Zheng reassigned SPARK-58906:
-------------------------------------
Assignee: Ruifeng Zheng
> 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
> Affects Versions: 5.0.0
> Reporter: Ruifeng Zheng
> Assignee: Ruifeng Zheng
> Priority: Major
> Labels: pull-request-available
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org