[
https://issues.apache.org/jira/browse/SPARK-61690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61690.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 671
[https://github.com/apache/spark-connect-rust/pull/671]
> Make the simple string of the ML vector and matrix types 'vector' and
> 'matrix', as PySpark's VectorUDT and MatrixUDT
> --------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61690
> URL: https://issues.apache.org/jira/browse/SPARK-61690
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.3.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.3.0
>
>
> The simple string of the ML vector and matrix types is "udt" in the Rust
> client: `DataType::simple_string` of a user-defined type gives "udt".
> PySpark's VectorUDT and MatrixUDT override `simpleString` to give "vector"
> and "matrix", which is what schema strings of ML DataFrames show (e.g.
> `struct<features:vector>`). Every other user-defined type stays "udt", and
> the JSON and `typeName` forms are unchanged ("udt"), as in PySpark.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]