dengzhhu653 commented on code in PR #6700:
URL: https://github.com/apache/hive/pull/6700#discussion_r3867962273


##########
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/command/CommandAuthorizer.java:
##########


Review Comment:
   We would create a temp table for materialized cte, the `getAllOutputs` will 
require the permission on the current database and the location the temp table 
wrote into, even when the original query doesn't touch them, the CTE doesn't 
contain outputs needed for auth check.



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