You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2019/07/24 08:07:00 UTC

[jira] [Created] (SPARK-28497) Disallow upcasting complex data types to string type

Gengliang Wang created SPARK-28497:
--------------------------------------

             Summary: Disallow upcasting complex data types to string type
                 Key: SPARK-28497
                 URL: https://issues.apache.org/jira/browse/SPARK-28497
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Gengliang Wang


In the current implementation. complex types like Array/Map/StructType are allowed to upcast as StringType.
This is not safe casting. We should disallow it.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org