[
https://issues.apache.org/jira/browse/SPARK-35411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-35411.
---------------------------------
Fix Version/s: 3.1.2
3.2.0
Resolution: Fixed
Issue resolved by pull request 32557
[https://github.com/apache/spark/pull/32557]
> Essential information missing in TreeNode json string
> -----------------------------------------------------
>
> Key: SPARK-35411
> URL: https://issues.apache.org/jira/browse/SPARK-35411
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.1
> Reporter: huangtengfei
> Assignee: huangtengfei
> Priority: Minor
> Fix For: 3.2.0, 3.1.2
>
>
> TreeNode can be serialized to json string with the method toJSON() or
> prettyJson(). To avoid OOM issues,
> [SPARK-17426|https://issues.apache.org/jira/browse/SPARK-17426] only keep
> part of Seq data that can be written out to result json string.
> Essential data like
> [cteRelations|https://github.com/apache/spark/blob/v3.1.1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala#L497]
> in node With,
> [branches|https://github.com/apache/spark/blob/v3.1.1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/conditionalExpressions.scala#L123]
> in CaseWhen will be skipped and written out as null.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]