rtrivedi12 commented on code in PR #4304:
URL: https://github.com/apache/hive/pull/4304#discussion_r1278786892


##########
ql/src/test/queries/clientnegative/authorization_droptable_fail_6.q:
##########
@@ -0,0 +1,9 @@
+set 
hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider;
+set hive.security.authorization.enabled=false;
+
+CREATE TEMPORARY TABLE auth_temp_table_2(key STRING, c1 INT, c2 STRING) STORED 
AS TEXTFILE;
+
+-- Drop temporary table with IF EXISTS WITHOUT DB Drop Privileges
+
+set hive.security.authorization.enabled=true;
+DROP TABLE auth_temp_table_2;

Review Comment:
   I think you meant `authorization_droptable_fail_5.q` and 
`authorization_droptable_fail_6.q` are identical. Thanks for the catch! The 
only difference between these two is of `IF EXISTS` clause. Corrected the test.



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