Fredy Wijaya has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/12959 )
Change subject: IMPALA-6718: Add support for column-level permissions on views ...................................................................... IMPALA-6718: Add support for column-level permissions on views This patch adds support for column-level permissions on views. This behavior is compatible with Hive column-level permissons on views. The following statements are now supported. GRANT select(col) ON db.my_view TO ROLE my_role -- Sentry only REVOKE select(col) ON db.my_view FROM ROLE my_role -- Sentry only GRANT select(col) ON db.my_view TO USER my_user -- Ranger only REVOKE select(col) ON db.my_view FROM USER my_user -- Ranger only GRANT select(col) ON db.my_view TO GROUP my_group -- Ranger only REVOKE select(col) ON db.my_view FROM GROUP my_group -- Ranger only Testing: - Updated AuthorizationStmtTest to with new test cases - Ran all FE tests - Ran all E2E authorization tests Change-Id: If81e683212cba22cc0fa5fc091ec3c799fa33e14 --- M fe/src/main/java/org/apache/impala/analysis/PrivilegeSpec.java M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeAuthStmtsTest.java M fe/src/test/java/org/apache/impala/analysis/AuthorizationStmtTest.java 4 files changed, 86 insertions(+), 30 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/59/12959/5 -- To view, visit http://gerrit.cloudera.org:8080/12959 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: If81e683212cba22cc0fa5fc091ec3c799fa33e14 Gerrit-Change-Number: 12959 Gerrit-PatchSet: 5 Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Austin Nobis <ano...@cloudera.com> Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com> Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Todd Lipcon <t...@apache.org>