You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2019/07/10 10:00:00 UTC

[jira] [Created] (SPARK-28331) Catalogs.load always throws CatalogNotFoundException on loading built-in catalogs

Gengliang Wang created SPARK-28331:
--------------------------------------

             Summary: Catalogs.load always throws CatalogNotFoundException on loading built-in catalogs
                 Key: SPARK-28331
                 URL: https://issues.apache.org/jira/browse/SPARK-28331
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Gengliang Wang


In `Catalogs.load`, the `pluginClassName` in the following code 
```
String pluginClassName = conf.getConfString("spark.sql.catalog." + name, null);
```
is always null for built-in catalogs, e.g there is a SQLConf entry for `spark.sql.catalog.session`.

This is because of https://github.com/apache/spark/pull/18852: SQLConf.conf.getConfString(key, null)  always returns null.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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