You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Johnny Walker (Jira)" <ji...@apache.org> on 2024/08/20 13:57:00 UTC

[jira] [Created] (SPARK-49321) Additional JDBC dialects not registered in executor

Johnny Walker created SPARK-49321:
-------------------------------------

             Summary: Additional JDBC dialects not registered in executor
                 Key: SPARK-49321
                 URL: https://issues.apache.org/jira/browse/SPARK-49321
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.5.2, 3.5.1, 3.5.0, 4.0.0
            Reporter: Johnny Walker


While working on a Spark application, I created a custom JDBC dialect and registered before creating a {{SparkSession}}. Spark did not use the dialect's {{JdbcSQLQueryBuilder}}, however, so I investigated further. I discovered that {{JDBCRDD}} [repeats the dialect resolution|https://github.com/apache/spark/blame/fe2174d8caaf6f9474319a8d729a2f537038b4c1/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRDD.scala#L177], and this runs on the executor. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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