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

Wenchen Fan resolved SPARK-28741.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

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

> New optional mode: Throw exceptions when casting to integers causes overflow
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-28741
>                 URL: https://issues.apache.org/jira/browse/SPARK-28741
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.0.0
>
>
> To follow ANSI SQL, we should support a configurable mode that throws 
> exceptions when casting to integers causes overflow.
> The behavior is similar to https://issues.apache.org/jira/browse/SPARK-26218, 
> which throws exceptions on arithmetical operation overflow.
> To unify it, the configuration is renamed from 
> "spark.sql.arithmeticOperations.failOnOverFlow" to 
> "spark.sql.failOnIntegerOverFlow"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to