wecharyu commented on PR #4860:
URL: https://github.com/apache/hive/pull/4860#issuecomment-1802104450

   Hi @aturoczy , I got your point! I agree with you that a permission check is 
necessary for operations like drop_table even if it's an external table. But I 
think such permission check should be done through `MetaStorePreEventListener` 
like `HiveMetaStoreAuthorizer`. And the file system permission check should be 
done only when the operation need delete file path.
   
   A common case we encountered is that upstream or ingestion maintains a 
partitioned table and data, the user can create external table on sub-directory 
of the table, where user owns the external table but no write permission on the 
upstream data files. User should be able to drop their own external table in 
this case. 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to