diff --git a/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/glue/TrinoGlueCatalog.java b/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/glue/TrinoGlueCatalog.java index 9960e2881d17..d98b5ca4eea8 100644 --- a/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/glue/TrinoGlueCatalog.java +++ b/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/glue/TrinoGlueCatalog.java @@ -787,8 +787,8 @@ public List 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 } } }