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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to