ajantha-bhat commented on code in PR #7336:
URL: https://github.com/apache/iceberg/pull/7336#discussion_r1182522246
##########
api/src/main/java/org/apache/iceberg/catalog/ViewCatalog.java:
##########
@@ -41,7 +41,8 @@ public interface ViewCatalog {
*
* @param namespace a namespace
* @return a list of identifiers for views
- * @throws NotFoundException if the namespace is not found
+ * @throws NoSuchNamespaceException if the namespace is not found
+ * @throws IllegalArgumentException if the namespace is invalid for the
catalog
Review Comment:
What is invalid is depends on the catalog impl.
some of the catalogs like HiveCatalog throws only IllegalArgumentException
for empty namespace. So, I would like to cover that option too.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]