JingsongLi commented on code in PR #4736:
URL: https://github.com/apache/paimon/pull/4736#discussion_r1896588500


##########
paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java:
##########
@@ -364,6 +364,31 @@ default void repairTable(Identifier identifier) throws 
TableNotExistException {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Exception for trying to operate on a resource that doesn't have 
permission. Define as a
+     * runtime exception: 1. Other engine has no this type exception. 2. It 
wouldn't bring api break

Review Comment:
   It is better to separate database and table? And expose database like 
DatabaseNotEmptyException, and expose identifier like 
TableAlreadyExistException.



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

Reply via email to