Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/23877 )
Change subject: IMPALA-10913: Produce Ranger audit log for SHOW DATABASES ...................................................................... Patch Set 2: (5 comments) http://gerrit.cloudera.org:8080/#/c/23877/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/23877/2//COMMIT_MSG@19 PS2, Line 19: master nit: use a permalink to avoid this get stale. https://github.com/apache/ranger/blob/668b80b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java#L806-L811 http://gerrit.cloudera.org:8080/#/c/23877/2/fe/src/main/java/org/apache/impala/authorization/Authorizable.java File fe/src/main/java/org/apache/impala/authorization/Authorizable.java: http://gerrit.cloudera.org:8080/#/c/23877/2/fe/src/main/java/org/apache/impala/authorization/Authorizable.java@36 PS2, Line 36: NONE Could you mention this in the commit message? Does NONE only correspond to the db list? http://gerrit.cloudera.org:8080/#/c/23877/2/fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java File fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java: http://gerrit.cloudera.org:8080/#/c/23877/2/fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java@168 PS2, Line 168: // This should happen for SHOW DATABASES only. How about renaming NONE to DB_LIST ? http://gerrit.cloudera.org:8080/#/c/23877/2/tests/authorization/test_ranger.py File tests/authorization/test_ranger.py: http://gerrit.cloudera.org:8080/#/c/23877/2/tests/authorization/test_ranger.py@809 PS2, Line 809: True if enable is True else False nit: use 'enable' directly? http://gerrit.cloudera.org:8080/#/c/23877/2/tests/authorization/test_ranger.py@3465 PS2, Line 3465: _with_local_catalog nit: the class name TestRangerLocalCatalog already mentions local catalog so we can make the method name shorter. -- To view, visit http://gerrit.cloudera.org:8080/23877 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Idb3e54b152e953916d3d7d7ef27c880a8559ed26 Gerrit-Change-Number: 23877 Gerrit-PatchSet: 2 Gerrit-Owner: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Comment-Date: Thu, 29 Jan 2026 08:29:12 +0000 Gerrit-HasComments: Yes
