You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/02/20 17:58:00 UTC

[jira] [Updated] (SPARK-49635) Remove the ANSI config suggestion in DATATYPE_MISMATCH.CAST_WITH_CONF_SUGGESTION

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

Dongjoon Hyun updated SPARK-49635:
----------------------------------
    Epic Link:     (was: SPARK-49577)

> Remove the ANSI config suggestion in DATATYPE_MISMATCH.CAST_WITH_CONF_SUGGESTION
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-49635
>                 URL: https://issues.apache.org/jira/browse/SPARK-49635
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Mihailo Milosevic
>            Assignee: Qiegang Long
>            Priority: Major
>              Labels: pull-request-available, starter
>             Fix For: 4.2.0
>
>
> DATATYPE_MISMATCH.CAST_WITH_CONF_SUGGESTION contains suggested fix 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 exist implementations of `try_*` functions which provide safe way to get behaviour as for ANSI mode off and suggestions of this kind should be sufficient.



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