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