[ 
https://issues.apache.org/jira/browse/SPARK-38935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523668#comment-17523668
 ] 

Apache Spark commented on SPARK-38935:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/36244

> Improve the exception type and message of casting string to numbers
> -------------------------------------------------------------------
>
>                 Key: SPARK-38935
>                 URL: https://issues.apache.org/jira/browse/SPARK-38935
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>
> # change the exception type from "java.lang.NumberFormatException" to 
> SparkNumberFormatException
>        2. Show the exact target data type in the error message



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to