HyukjinKwon opened a new pull request, #671: URL: https://github.com/apache/spark-connect-rust/pull/671
### What changes were proposed in this pull request? `DataType::simple_string` of an ML vector or matrix column is now `vector` or `matrix`, as PySpark's `VectorUDT` and `MatrixUDT` give it, instead of `udt`. Other UDTs, and `json_value` and `type_name`, are unchanged. ### Why are the changes needed? To match PySpark: a schema of ML features printed `struct<features:udt>` instead of `struct<features:vector>`. The goldens of the native ML models compare these schemas. ### Does this PR introduce _any_ user-facing change? Yes, the Rust `simple_string()` of these two types. The Python classes already gave PySpark's strings. ### How was this patch tested? A new unit test in `types_behavior.rs`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 This pull request and its description were written by Isaac. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
