[
https://issues.apache.org/jira/browse/SPARK-62219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62219.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 927
[https://github.com/apache/spark-connect-rust/pull/927]
> Make the uses of a StructType whose fields hold an object that is not a
> StructField raise PySpark's errors
> ----------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62219
> URL: https://issues.apache.org/jira/browse/SPARK-62219
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.4.0
>
>
> Of a StructType whose fields list holds an object that is not a StructField,
> PySpark's json(), jsonValue(), simpleString(), treeString(), lookups by name,
> add, pickles and copies, the plans of to, cast, from_json and a reader's
> schema, and the StructField, ArrayType and MapType constructors raise
> PySpark's errors at their points, where the drop-in raises TypeError:
> StructType fields must be StructField objects when it lowers the type. Raise
> PySpark's errors.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]