You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2020/07/31 12:13:01 UTC

[jira] [Created] (SPARK-32510) JDBC doesn't check duplicate column names in nested structures

Maxim Gekk created SPARK-32510:
----------------------------------

             Summary: JDBC doesn't check duplicate column names in nested structures 
                 Key: SPARK-32510
                 URL: https://issues.apache.org/jira/browse/SPARK-32510
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Maxim Gekk


JdbcUtils.getCustomSchema calls checkColumnNameDuplication() which checks duplicates on top-level but not in nested structures as other built-in datasources do, see

[https://github.com/apache/spark/blob/8bc799f92005c903868ef209f5aec8deb6ccce5a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala#L822-L823]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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