diqiu50 opened a new pull request, #10738:
URL: https://github.com/apache/gravitino/pull/10738

   ### What changes were proposed in this pull request?
   
   Fix schema classification in `dropCatalog(force = false)` so imported 
schemas do not block catalog deletion.
   
   ### Why are the changes needed?
   
   Imported schemas can be written into the entity store during metadata 
synchronization and later be misclassified as user-created schemas.
   
   That makes `dropCatalog(force = false)` fail with `NonEmptyCatalogException` 
even though the remaining schema was imported from the external catalog.
   
   Fix: #10737
   
   ### Does this PR introduce _any_ user-facing change?
   
   `dropCatalog(force = false)` no longer incorrectly fails when only imported 
schemas remain.
   
   ### How was this patch tested?
   
   - added unit coverage in `TestCatalogManager`


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