You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2019/03/20 17:06:00 UTC

[jira] [Updated] (SPARK-27221) Improve the assert error message in TreeNode.parseToJson

     [ https://issues.apache.org/jira/browse/SPARK-27221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shixiong Zhu updated SPARK-27221:
---------------------------------
    Summary: Improve the assert error message in TreeNode.parseToJson  (was: Improve the assert error message in TreeNode)

> Improve the assert error message in TreeNode.parseToJson
> --------------------------------------------------------
>
>                 Key: SPARK-27221
>                 URL: https://issues.apache.org/jira/browse/SPARK-27221
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>            Priority: Minor
>
> When TreeNode.parseToJson may throw an assert error without any error message when a TreeNode is not implemented properly, and it's hard to find the bad TreeNode implementation.
> It's better to improve the error message to indicate the type of TreeNode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org