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

[jira] [Comment Edited] (SPARK-37945) Use error classes in the execution errors of arithmetic ops

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

Khalid Mammadov edited comment on SPARK-37945 at 10/15/22 8:43 AM:
-------------------------------------------------------------------

I was [about to finish |https://github.com/apache/spark/pull/38266] this but I can see you set these error classes to _LEGACY which I don't know background so will leave this to you then [~maxgekk] 

Please let me know if there is one I can work on


was (Author: JIRAUSER284054):
I was [about to finish |https://github.com/apache/spark/pull/38266] this but I can see you set these error classes to _LEGACY which I don't know background so will leave this to you then [~maxgekk] 

> Use error classes in the execution errors of arithmetic ops
> -----------------------------------------------------------
>
>                 Key: SPARK-37945
>                 URL: https://issues.apache.org/jira/browse/SPARK-37945
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Max Gekk
>            Priority: Major
>
> Migrate the following errors in QueryExecutionErrors:
> * overflowInSumOfDecimalError
> * overflowInIntegralDivideError
> * arithmeticOverflowError
> * unaryMinusCauseOverflowError
> * binaryArithmeticCauseOverflowError
> * unscaledValueTooLargeForPrecisionError
> * decimalPrecisionExceedsMaxPrecisionError
> * outOfDecimalTypeRangeError
> * integerOverflowError
> 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.10#820010)

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