[
https://issues.apache.org/jira/browse/SPARK-62231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62231.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 961
[https://github.com/apache/spark-connect-rust/pull/961]
> Run the constructor of a StructType subclass as PySpark's __init__ does,
> assigning fields, names, _needConversion and _needSerializeAnyField through
> the subclass's attributes, and raise PySpark's errors
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62231
> URL: https://issues.apache.org/jira/browse/SPARK-62231
> 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
>
>
> PySpark's StructType.__init__ reads needConversion() of each element of
> fields through self, so a subclass whose fields property holds an object that
> is not a StructField fails to construct. The drop-in constructs it. Raise
> PySpark's error.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]