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

   …TIES and SHOW TABLE EXTENDED
   
   ### What changes were proposed in this pull request?
   Align authorization input registration for SHOW TBLPROPERTIES and SHOW TABLE 
EXTENDED 
   with other metadata DDL commands (e.g. DESCRIBE TABLE) so the configured HS2 
   authorizer receives the target table in the compile-time input set.
   
   * ShowTablePropertiesAnalyzer — add ReadEntity(table) before DDLWork is 
created
   * ShowTableStatusAnalyzer — add ReadEntity(table) before DDLWork is created
   
   
   ### Why are the changes needed?
   Both analyzers already validate table existence; they were not registering 
the 
   authorization checks.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, commands will fail if user does not have SELECT access
   
   ### How was this patch tested?
   authorization_show_tblproperties_nosel.q
   authorization_show_tableextended_nosel.q 
   


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