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

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

Gengliang Wang created SPARK-38935:
--------------------------------------

             Summary: 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


# change the exception type from "java.lang.NumberFormatException" to SparkNumberFormatException

 # 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