rdblue commented on a change in pull request #25305: [SPARK-28572][SQL] Simple
analyzer checks for CREATE TABLE v2
URL: https://github.com/apache/spark/pull/25305#discussion_r309462922
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/catalog/v2/Catalogs.java
##########
@@ -50,8 +51,10 @@ private Catalogs() {
*/
public static CatalogPlugin load(String name, SQLConf conf)
throws CatalogNotFoundException, SparkException {
- String pluginClassName = conf.getConfString("spark.sql.catalog." + name,
null);
- if (pluginClassName == null) {
+ String pluginClassName;
+ try {
+ pluginClassName = conf.getConfString("spark.sql.catalog." + name);
Review comment:
Should we merge @gengliangwang's PR with this change instead? I thought it
may be superseded by @cloud-fan's update to configure the v2 session catalog,
but since that is delayed, we might want to go ahead with that PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]