[ 
https://issues.apache.org/jira/browse/SPARK-39917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gengliang Wang resolved SPARK-39917.
------------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37374
[https://github.com/apache/spark/pull/37374]

> Use different error classes for numeric/interval arithmetic overflow
> --------------------------------------------------------------------
>
>                 Key: SPARK-39917
>                 URL: https://issues.apache.org/jira/browse/SPARK-39917
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.4.0
>
>
> Currently, when  arithmetic overflow errors happen under ANSI mode, the error 
> messages are like
> [ARITHMETIC_OVERFLOW] long overflow. Use 'try_multiply' to tolerate overflow 
> and return NULL instead. If necessary set spark.sql.ansi.enabled to "false" 
>  
> The "(except for ANSI interval type)" part is confusing. We should remove it 
> for the numeric arithmetic operations and have a new error class for the 
> interval division error: INTERVAL_ARITHMETIC_OVERFLOW



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to