You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "huangtengfei (Jira)" <ji...@apache.org> on 2021/05/15 15:02:00 UTC
[jira] [Created] (SPARK-35411) Essential information missing in
TreeNode json string
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org