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 2021/12/14 02:21:00 UTC

[jira] [Assigned] (SPARK-37633) Unwrap cast should skip if downcast failed with ansi enabled

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

Apache Spark reassigned SPARK-37633:
------------------------------------

    Assignee: Apache Spark

> 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: Apache Spark
>            Priority: Minor
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org