Gengliang Wang created SPARK-34248:
--------------------------------------

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



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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to