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

spark.catalog.listDatabases() fails if containing schemas with special characters when spark.sql.legacy.keepCommandOutputSchema set to true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      When the SQL conf spark.sql.legacy.keepCommandOutputSchema is set to true:
      Before:
      // support there is a xyyu-db-with-hyphen schema in the catalog
      spark.catalog.listDatabases()

      [INVALID_IDENTIFIER] The identifier xyyu-db-with-hyphen is invalid. Please, consider quoting it with back-quotes

      Attachments

        Issue Links

          Activity

            People

              xyyu Xinyi Yu
              xyyu Xinyi Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: