impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <>
Subject [Impala-ASF-CR] Preview: IMPALA-4000: Restricted Sentry authorization for Kudu Tables
Date Tue, 22 Nov 2016 23:46:27 GMT
Alex Behm has posted comments on this change.

Change subject: Preview: IMPALA-4000: Restricted Sentry authorization for Kudu Tables

Patch Set 2:


Looks good overall. Still needs some additional tests. Let me know if you want me to point
out the gaps in more detail.
File fe/src/main/java/org/apache/impala/analysis/

Line 244:     analyzer.registerPrivReq(new PrivilegeRequestBuilder().onServer(
Needs brief comment explaining why this privilege level is required, point to JIRA
File fe/src/main/java/org/apache/impala/analysis/

Line 249:     if (table instanceof KuduTable) {
brief comment and pointer to JIRA

Line 281:       if (table instanceof KuduTable && privilegeLevel_ != TPrivilegeLevel.ALL)
brief comment and pointer to JIRA

Line 283:             "Kudu tables support only all or nothing permissions.");
Kudu tables only support the ALL privilege level.
File fe/src/test/java/org/apache/impala/analysis/

Line 907:     AuthzError("create external table tpch.test_tbl3 stored as kudu TBLPROPERTIES
" +
also add a positive test case

Line 912:     AuthzOk("create table tpch.test_tbl3 (i int, j int, primary key (i))" +
isn't this already covered somewhere?
File testdata/workloads/functional-query/queries/QueryTest/grant_revoke.test:

Line 296: # Not done yet
looks more like an analyzer test

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I183f08ad8ce80deee011a6b90ad67b9cefc0452c
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-HasComments: Yes

View raw message