ayushtkn commented on code in PR #4860:
URL: https://github.com/apache/hive/pull/4860#discussion_r1395573632


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java:
##########
@@ -1567,6 +1572,24 @@ public void dropTableBogusCatalog() throws TException {
     client.dropTable("nosuch", testTables[0].getDbName(), 
testTables[0].getTableName(), true, false);
   }
 
+  @Test
+  public void testDropExternalTableWithoutStoragePermission() throws 
TException, IOException {

Review Comment:
   add a test case where data was supposed to be deleted & the user didn't had 
permission & assert that the exception is thrown



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