Fang-Yu Rao has posted comments on this change. ( http://gerrit.cloudera.org:8080/17640 )
Change subject: IMPALA-10436: Support storage handler privileges for external Kudu table creation ...................................................................... Patch Set 8: (1 comment) http://gerrit.cloudera.org:8080/#/c/17640/5//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/17640/5//COMMIT_MSG@29 PS5, Line 29: > In addition, at https://gerrit.cloudera.org/c/17640/8/fe/src/test/java/org/ A prefix like "kudu://localhost/impala::tpch_kudu.*" is supported. The test case could be found at https://gerrit.cloudera.org/c/17640/8/fe/src/test/java/org/apache/impala/authorization/AuthorizationStmtTest.java#1878 as shown in the following. .ok(onDatabase("functional", TPrivilegeLevel.CREATE), onStorageHandlerUri("kudu", "127.0.0.1/impala::tpch_kudu.*", TPrivilegeLevel.RWSTORAGE)); Under the covers RangerCatalogdAuthorizationManager#createGrantRevokeRequests() will be called to grant the privileges. Recall that createGrantRevokeRequests() is also the method that is invoked for a GRANT or REVOKE command. -- To view, visit http://gerrit.cloudera.org:8080/17640 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I7936e1d8c48696169f7ad7ad92abe44a26eea3c4 Gerrit-Change-Number: 17640 Gerrit-PatchSet: 8 Gerrit-Owner: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Aman Sinha <[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: Fri, 07 Oct 2022 21:10:04 +0000 Gerrit-HasComments: Yes
