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

Max Gekk resolved SPARK-49578.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Remove the ANSI config suggestion in CAST_INVALID_INPUT and CAST_OVERFLOW
> -------------------------------------------------------------------------
>
>                 Key: SPARK-49578
>                 URL: https://issues.apache.org/jira/browse/SPARK-49578
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Mihailo Milosevic
>            Assignee: Mihailo Milosevic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> CAST_INVALID_INPUT and CAST_OVERFLOW both contain suggested fixes for turning 
> off ANSI mode. Now that in Spark 4.0.0 we have moved to ANSI mode on by 
> default, we want to keep suggestions of this kind to the minimum. There 
> exists implementation of `try_cast` which provides casting as for ANSI mode 
> off and that suggestion should be sufficient for users to move forward.



--
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