Hyukjin Kwon created SPARK-62231:
------------------------------------

             Summary: Raise PySpark's error in the constructor of a StructType 
subclass whose fields hold an object that is not a StructField
                 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


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]

Reply via email to