Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38054

DS V2 supports list namespaces of MySQL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • SQL
    • None

    Description

      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.

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: