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

   ### What would you like to be improved?
   
   Lance REST `CreateTable` marks every table as external. Since #14870, 
`DropTable` on such a table returns 406 unless the catalog sets 
`lance.allow-external-dataset-modification`. That setting also allows deleting 
registered datasets. So a user cannot delete the data of a table they created, 
unless the administrator allows deleting all external data.
   
   ### How should we improve?
   
   With the location check in #14894, a table that Gravitino created in 
`CREATE` mode does not share its location with another table in the same 
catalog. Consider allowing drop to delete the data of these tables by default, 
while registered and declared tables stay behind the catalog setting. This 
needs the cross-catalog rules from #14788 first.
   


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