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/02/03 07:48:00 UTC
[jira] [Commented] (SPARK-37936) Use error classes in the parsing errors of intervals
[ https://issues.apache.org/jira/browse/SPARK-37936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486269#comment-17486269 ]
Apache Spark commented on SPARK-37936:
--------------------------------------
User 'senthh' has created a pull request for this issue:
https://github.com/apache/spark/pull/35386
> Use error classes in the parsing errors of intervals
> ----------------------------------------------------
>
> Key: SPARK-37936
> URL: https://issues.apache.org/jira/browse/SPARK-37936
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Max Gekk
> Priority: Major
>
> Modify the following methods in QueryParsingErrors:
> * moreThanOneFromToUnitInIntervalLiteralError
> * invalidIntervalLiteralError
> * invalidIntervalFormError
> * invalidFromToUnitValueError
> * fromToIntervalUnsupportedError
> * mixedIntervalUnitsError
> onto use error classes. Throw an implementation of SparkThrowable. Also write a test per every error in QueryParsingErrorsSuite.
--
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