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