[ https://issues.apache.org/jira/browse/SPARK-38054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-38054. --------------------------------- Fix Version/s: 3.3.0 Resolution: Fixed Issue resolved by pull request 35355 [https://github.com/apache/spark/pull/35355] > 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 > Fix For: 3.3.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org