[
https://issues.apache.org/jira/browse/SPARK-34248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450295#comment-17450295
]
王俊博 commented on SPARK-34248:
-----------------------------
{{where is the issue links?I found some issue with }}{{implicit casting string
literal to other data types.}}
> 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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]