yuqi1129 opened a new issue, #14492:
URL: https://github.com/apache/gravitino/issues/14492

   ### Version
   
   main branch, checked at 90da2776a.
   
   ### Describe what's wrong
   
   PostgreSQL DROP SCHEMA CASCADE removes dependent views and foreign-key 
constraints in other schemas. Gravitino defines the cascade operation as 
removing objects within the requested schema, so the native DDL can remove more 
than the API describes.
   
   ### Error message and/or stacktrace
   
   See the behavior described above; source-valid objects or invalid 
configuration are not reported consistently.
   
   ### How to reproduce
   
   Create a table in schema source and a view and referencing foreign-key 
constraint in schema other. Request a cascading source-schema drop through 
Gravitino. External dependents should be named and the request refused before 
those objects are removed.
   
   ### Additional context
   
   A focused patch with regression tests is prepared.
   


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