Fokko commented on code in PR #5287:
URL: https://github.com/apache/iceberg/pull/5287#discussion_r931873819


##########
python/tests/catalog/test_base.py:
##########
@@ -78,14 +75,14 @@ def load_table(self, identifier: Union[str, Identifier]) -> 
Table:
         try:
             return self.__tables[identifier]
         except KeyError as error:
-            raise NoSuchTableError(f"Table does not exist: {identifier}") from 
error
+            raise NoSuchNamespaceError(f"Table does not exist: {identifier}") 
from error
 
     def drop_table(self, identifier: Union[str, Identifier]) -> None:
         identifier = Catalog.identifier_to_tuple(identifier)
         try:
             self.__tables.pop(identifier)
         except KeyError as error:
-            raise NoSuchTableError(f"Table does not exist: {identifier}") from 
error
+            raise NoSuchNamespaceError(f"Table does not exist: {identifier}") 
from error

Review Comment:
   Yes, I went over the list, sorry for the confusion



-- 
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]

Reply via email to