[
https://issues.apache.org/jira/browse/SPARK-49578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-49578:
-----------------------------------
Labels: pull-request-available (was: )
> Change error message for 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
> 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 minimal. 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: [email protected]
For additional commands, e-mail: [email protected]