Hyukjin Kwon created SPARK-62189:
------------------------------------
Summary: Raise PySpark's AttributeError for createDataFrame of no
rows of a StructType whose fields hold an object that is not a StructField
Key: SPARK-62189
URL: https://issues.apache.org/jira/browse/SPARK-62189
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
Of a StructType whose fields list holds an object that is not a StructField,
PySpark's createDataFrame of no rows raises the AttributeError of 'jsonValue',
where the drop-in raises TypeError: StructType fields must be StructField
objects. createDataFrame of rows already raises PySpark's AttributeError. Raise
PySpark's error of no rows too.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]