mchades commented on issue #6845:
URL: https://github.com/apache/gravitino/issues/6845#issuecomment-2800324249

   @waukin  The error is produced by the code block you commented out:
   ```java
   if (!tableEntities.isEmpty()) {
     throw new NonEmptyEntityException(
         "Entity %s has sub-entities, you should remove sub-entities first", 
identifier);
   }
   ```
   
   The root cause is the inconsistency of gravitino storage and the underlying 
catalog. 
   
   We should return the operation results of the underlying catalog instead of 
gravitino storage. 


-- 
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: commits-unsubscr...@gravitino.apache.org

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

Reply via email to