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/02/10 13:33:00 UTC
[jira] [Assigned] (SPARK-38054) DS V2 supports list namespaces of MySQL
[ https://issues.apache.org/jira/browse/SPARK-38054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-38054:
-----------------------------------
Assignee: jiaan.geng
> DS V2 supports list namespaces of MySQL
> ---------------------------------------
>
> Key: SPARK-38054
> URL: https://issues.apache.org/jira/browse/SPARK-38054
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: jiaan.geng
> Assignee: jiaan.geng
> Priority: Major
>
> Currently, JDBCTableCatalog.scala query namespaces by below.
> val rs = conn.getMetaData.getSchemas(null, db)
> while (rs.next()) {
> if (rs.getString(1) == db) return true;
> }
> false
> But cannot get any information when using MySQL JDBC driver.
--
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