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

   I had the same error at first. I tried to debug and temporarily comment out 
the following section in SchemaMetaService.java:
   ```java
   if (!tableEntities.isEmpty()) {
     throw new NonEmptyEntityException(
         "Entity %s has sub-entities, you should remove sub-entities first", 
identifier);
   }
   ```
   Then I rebuilt Gravitino using:
   ```bash
   ./gradlew compileDistribution
   ```
   After that, everything worked without any exceptions. And then I added back 
above section of code to SchemaMetaService.java. There are still no exceptions 
while doing these steps:
   1. Create a schema and a table in MySQL or PG catalog in Gravitino UI
   2. Drop the table by mysql client or psql cli
   3. Drop the schema in Gravitino UI
   
   I'm wondering if the issue might be related to some cache (e.g., outdated 
tables) left from a previous version.
   Hi @danhuawang, Do you have any suggestions on this?


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