You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/01/17 17:35:00 UTC

[jira] [Created] (SPARK-37944) Use error classes in the execution errors of casting

Max Gekk created SPARK-37944:
--------------------------------

             Summary: Use error classes in the execution errors of casting
                 Key: SPARK-37944
                 URL: https://issues.apache.org/jira/browse/SPARK-37944
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: Max Gekk


Migrate the following errors in QueryExecutionErrors:
* failedToCastValueToDataTypeForPartitionColumnError
* invalidInputSyntaxForNumericError
* cannotCastToDateTimeError
* invalidInputSyntaxForBooleanError
* nullLiteralsCannotBeCastedError

onto use error classes. Throw an implementation of SparkThrowable. Also write a test per every error in QueryExecutionErrorsSuite.



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