You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ajantha-bhat (via GitHub)" <gi...@apache.org> on 2023/05/02 13:06:33 UTC

[GitHub] [iceberg] ajantha-bhat commented on a diff in pull request #7336: API: Update java doc for listTables and listViews

ajantha-bhat commented on code in PR #7336:
URL: https://github.com/apache/iceberg/pull/7336#discussion_r1182521657


##########
api/src/main/java/org/apache/iceberg/catalog/Catalog.java:
##########
@@ -46,7 +46,8 @@ default String name() {
    *
    * @param namespace a namespace
    * @return a list of identifiers for tables
-   * @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:
   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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org