huangtengfei created SPARK-35411:
------------------------------------

             Summary: 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


TreeNode can be serialized to json string with the method toJSON() or 
prettyJson(). To avoid OOM issues, 
[SPARK-17426|http://example.comhttps//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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to