[
https://issues.apache.org/jira/browse/SPARK-34248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang resolved SPARK-34248.
------------------------------------
Assignee: Gengliang Wang
Resolution: Fixed
> Allow implicit casting string literal to other data types under ANSI mode
> -------------------------------------------------------------------------
>
> Key: SPARK-34248
> URL: https://issues.apache.org/jira/browse/SPARK-34248
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.1.2
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
>
> As the default type coercion rules allow converting String type to other
> primitive types, we can specially allow converting string literal to other
> primitive types in ANSI mode. So that users won't get many SQL execution
> failure on switching to ANSI mode.
> This is learned from PostgreSQL.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]