You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/04/18 12:08:00 UTC

[jira] [Commented] (SPARK-38935) Improve the exception type and message of casting string to numbers

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org