Vuk Ercegovac has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9589 )

Change subject: IMPALA-6643: Add REFRESH METADATA fine-grained privilege
......................................................................


Patch Set 8:

(2 comments)

looks good, main questions I have are about scope and naming. for scope, are 
the various 'show' commands applicable for this change? the naming question is 
in the comments.

http://gerrit.cloudera.org:8080/#/c/9589/8/fe/src/main/java/org/apache/impala/authorization/Privilege.java
File fe/src/main/java/org/apache/impala/authorization/Privilege.java:

http://gerrit.cloudera.org:8080/#/c/9589/8/fe/src/main/java/org/apache/impala/authorization/Privilege.java@50
PS8, Line 50: Sentry actions Impala can
            :    * use without being tied to Hive actions since there may be 
privileges
slightly confused by this: does a new reader of this code need to know about 
how this relates to Hive actions?


http://gerrit.cloudera.org:8080/#/c/9589/8/fe/src/test/java/org/apache/impala/analysis/ParserTest.java
File fe/src/test/java/org/apache/impala/analysis/ParserTest.java:

http://gerrit.cloudera.org:8080/#/c/9589/8/fe/src/test/java/org/apache/impala/analysis/ParserTest.java@3579
PS8, Line 3579: REFRESH METADATA
I'm sure its been discussed, so feel free to point me to relevant info, but why 
does the privilege include the word "REFRESH", which overlaps with one of two 
actions that this enables (refresh metadata) and not the other (invalidate 
metadata)?



--
To view, visit http://gerrit.cloudera.org:8080/9589
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I4c3c5a51fe493d39fd719c7a388d4d5760049ce4
Gerrit-Change-Number: 9589
Gerrit-PatchSet: 8
Gerrit-Owner: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Adam Holley <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Vuk Ercegovac <[email protected]>
Gerrit-Comment-Date: Thu, 15 Mar 2018 03:15:30 +0000
Gerrit-HasComments: Yes

Reply via email to