Skip to content

Commit

Permalink
Suppress permission denied when listing materialized views in Iceberg…
Browse files Browse the repository at this point in the history
… Glue
  • Loading branch information
ebyhr committed Jan 30, 2023
1 parent 5741ab3 commit 5421fee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,8 @@ public List<SchemaTableName> listMaterializedViews(ConnectorSession session, Opt
.map(table -> new SchemaTableName(glueNamespace, table.getName()))
.collect(toImmutableList()));
}
catch (EntityNotFoundException e) {
// Namespace may have been deleted
catch (EntityNotFoundException | AccessDeniedException e) {
// Namespace may have been deleted or permission denied
}
}
}
Expand Down

0 comments on commit 5421fee

Please sign in to comment.