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

Chao Sun resolved SPARK-37633.
------------------------------
    Fix Version/s: 3.3.0
                   3.2.1
       Resolution: Fixed

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

> Unwrap cast should skip if downcast failed with ansi enabled
> ------------------------------------------------------------
>
>                 Key: SPARK-37633
>                 URL: https://issues.apache.org/jira/browse/SPARK-37633
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.3, 3.1.2, 3.2.0
>            Reporter: Manu Zhang
>            Assignee: Manu Zhang
>            Priority: Minor
>             Fix For: 3.3.0, 3.2.1
>
>
> Currently, unwrap cast throws ArithmeticException if down cast failed with 
> ansi enabled. Since UnwrapCastInBinaryComparison is an optimizer rule, we 
> should always skip on failure regardless of ansi config.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to