You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/03/08 08:39:00 UTC

[jira] [Resolved] (SPARK-38361) Add factory method getConnection into JDBCDialect.

     [ https://issues.apache.org/jira/browse/SPARK-38361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-38361.
---------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 35727
[https://github.com/apache/spark/pull/35727]

> Add factory method getConnection into JDBCDialect.
> --------------------------------------------------
>
>                 Key: SPARK-38361
>                 URL: https://issues.apache.org/jira/browse/SPARK-38361
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: jiaan.geng
>            Assignee: jiaan.geng
>            Priority: Major
>             Fix For: 3.3.0
>
>
> At present, the parameter of the factory method for obtaining JDBC connection is empty because the JDBC URL of some databases is fixed and unique.
> However, for databases such as Clickhouse, connection is related to the shard node.
> So I think the parameter form of getConnection: Partition = > Connection is more general.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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