rtrivedi12 opened a new pull request, #5689:
URL: https://github.com/apache/hive/pull/5689

   …o explicit LOCATION
   
   ### What changes were proposed in this pull request?
   
   This update ensures that DFS_URI authorization is triggered only when 
necessary during the CREATE TABLE command. Specifically:
   
   For managed table creation, DFS_URI authorization is skipped if the location 
is under the default managed DB location.
   For external table creation, DFS_URI authorization is skipped if the table 
location is under the default external DB location.
   
   
   
   ### Why are the changes needed?
   This prevents unnecessary DFS_URI authorization for tables created within 
default DB locations, and adding extra policies in Ranger for query execution 
from external clients like Spark.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, After this change, users will no longer need the DFS_URI policy for 
tables that are created in the default managed DB location (for managed tables) 
or the default external DB location (for external tables).
   
   
   ### Is the change a dependency upgrade?
   No
   
   
   ### How was this patch tested?
   Changes were verified by running the CREATE table command from Spark sql.
   


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to