danhuawang commented on issue #6845: URL: https://github.com/apache/gravitino/issues/6845#issuecomment-2800285304
> I had the same error at first. I tried to debug and temporarily comment out the following section in SchemaMetaService.java: > > if (!tableEntities.isEmpty()) { > throw new NonEmptyEntityException( > "Entity %s has sub-entities, you should remove sub-entities first", identifier); > } > Then I rebuilt Gravitino using: > > ./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](https://github.com/danhuawang), Do you have any suggestions on this? @mchades Any comment? -- 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