You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/05/27 16:19:32 UTC

[GitHub] [iceberg] snazy opened a new pull request #2646: Nessie: Explicitly log warning, when mandatory `warehouse` option is missing

snazy opened a new pull request #2646:
URL: https://github.com/apache/iceberg/pull/2646


   Explicitly log a warning when the mandatory `warehouse` option is missing, otherwise the thrown exception can get missed in the "silent-ish catch". in `o.a.i.spark.Spark3Util.catalogAndIdentifier(o.a.s.sql.SparkSession, List<String>, o.a.s.sql.connector.catalog.CatalogPlugin)`
   in the code block
   ```
      Pair<CatalogPlugin, Identifier> catalogIdentifier = SparkUtil.catalogAndIdentifier(nameParts,
          catalogName ->  {
            try {
              return catalogManager.catalog(catalogName);
            } catch (Exception e) {
              return null;
            }
          },
          Identifier::of,
          defaultCatalog,
          currentNamespace
      );
   ```


-- 
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:
users@infra.apache.org



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


[GitHub] [iceberg] rymurr merged pull request #2646: Nessie: Explicitly log warning, when mandatory `warehouse` option is missing

Posted by GitBox <gi...@apache.org>.
rymurr merged pull request #2646:
URL: https://github.com/apache/iceberg/pull/2646


   


-- 
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:
users@infra.apache.org



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