You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2023/09/04 13:16:00 UTC

[jira] [Updated] (SPARK-45020) org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database 'default' not found (state=08S01,code=0)

     [ https://issues.apache.org/jira/browse/SPARK-45020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuming Wang updated SPARK-45020:
--------------------------------
    Fix Version/s:     (was: 3.1.0)

> org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database 'default' not found (state=08S01,code=0)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-45020
>                 URL: https://issues.apache.org/jira/browse/SPARK-45020
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.1.0
>            Reporter: Sruthi Mooriyathvariam
>            Priority: Minor
>
> There is an alert that fires up when a Spark 3.1 cluster is created using shared metastore with Spark 2.4. The alert says DefaultDatabase does not exist. This is misleading and thus we need to suppress this alert. 
> In the class SessionCatalog.scala, the method requireDbExists() is not handling the case when the db = defaultDB. This needs to be added to suppress this misleading alert. 



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

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