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

Shixiong Zhu updated SPARK-27221:
---------------------------------
    Description: 
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.

> Improve the assert error message in TreeNode
> --------------------------------------------
>
>                 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to