rdblue commented on a change in pull request #1435:
URL: https://github.com/apache/iceberg/pull/1435#discussion_r485981465
##########
File path: flink/src/main/java/org/apache/iceberg/flink/FlinkCatalog.java
##########
@@ -111,6 +111,12 @@ public FlinkCatalog(
@Override
public void open() throws CatalogException {
+ // Create the default database if it does not exist.
+ try {
+ createDatabase(getDefaultDatabase(), ImmutableMap.of(), true);
+ } catch (DatabaseAlreadyExistException e) {
+ throw new CatalogException(e);
Review comment:
Okay, I see that it delegates. When would this throw
`DatabaseAlreadyExistsException` then? Is this just to ignore a checked
exception?
----------------------------------------------------------------
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]