[
https://issues.apache.org/jira/browse/SPARK-62231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon reassigned SPARK-62231:
------------------------------------
Assignee: Hyukjin Kwon
> 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
>
> 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]