You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2024/09/11 13:12:00 UTC
[jira] [Assigned] (SPARK-49578) Remove the ANSI config suggestion in CAST_INVALID_INPUT and CAST_OVERFLOW
[ https://issues.apache.org/jira/browse/SPARK-49578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk reassigned SPARK-49578:
--------------------------------
Assignee: Mihailo Milosevic
> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org