Fredy Wijaya has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/11244 )
Change subject: IMPALA-6989: Implement SHOW GRANT USER statement ...................................................................... IMPALA-6989: Implement SHOW GRANT USER statement This patch implements SHOW GRANT USER command to show the list of privileges for a given user. Syntax: SHOW GRANT USER <user> SHOW GRANT USER <user> ON SERVER SHOW GRANT USER <user> ON DATABASE <db> SHOW GRANT USER <user> ON TABLE <table> SHOW GRANT USER <user> ON URI <uri> Testing: - Add FE tests - Ran all FE tests Change-Id: Ia96fcf02d249501c471d03511c22625ae2fec225 --- M be/src/service/client-request-state.cc M be/src/service/frontend.cc M be/src/service/frontend.h M common/thrift/Frontend.thrift M fe/src/main/cup/sql-parser.cup M fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java A fe/src/main/java/org/apache/impala/analysis/ShowGrantPrincipalStmt.java D fe/src/main/java/org/apache/impala/analysis/ShowGrantRoleStmt.java M fe/src/main/java/org/apache/impala/catalog/AuthorizationPolicy.java M fe/src/main/java/org/apache/impala/service/Frontend.java M fe/src/main/java/org/apache/impala/service/JniFrontend.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeAuthStmtsTest.java M fe/src/test/java/org/apache/impala/analysis/AuthorizationStmtTest.java M fe/src/test/java/org/apache/impala/analysis/ParserTest.java 14 files changed, 221 insertions(+), 186 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/44/11244/4 -- To view, visit http://gerrit.cloudera.org:8080/11244 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ia96fcf02d249501c471d03511c22625ae2fec225 Gerrit-Change-Number: 11244 Gerrit-PatchSet: 4 Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Adam Holley <ahol...@cloudera.com> Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Vuk Ercegovac <vercego...@cloudera.com>