Xinyi Yu created SPARK-46394:
--------------------------------

             Summary: spark.catalog.listDatabases() fails if containing schemas 
with special characters when spark.sql.legacy.keepCommandOutputSchema set to 
true
                 Key: SPARK-46394
                 URL: https://issues.apache.org/jira/browse/SPARK-46394
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Xinyi Yu


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to