Hyukjin Kwon created SPARK-62224:
------------------------------------
Summary: Raise PySpark's RecursionError for a StructType that
contains itself, instead of recursing without bound
Key: SPARK-62224
URL: https://issues.apache.org/jira/browse/SPARK-62224
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
A StructType that contains itself, as after s.fields.append(StructField("b",
s)), makes createDataFrame([], s) and s.json() of the drop-in recurse without a
bound, until the process runs out of memory or a stack allocation panics.
PySpark raises RecursionError at once. Raise PySpark's RecursionError.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]