Fang-Yu Rao has uploaded a new patch set (#4). ( 
http://gerrit.cloudera.org:8080/22299 )

Change subject: IMPALA-13011: [WIP] Support authorization for Calcite in Impala
......................................................................

IMPALA-13011: [WIP] Support authorization for Calcite in Impala

Based on https://gerrit.cloudera.org/c/22252/24, this patch supports
authorization for the Calcite planner in Impala. Specifically, this
patch focuses on the authorization of table-level and column-level
privilege requests.

The issue reported in IMPALA-13767 is also taken care of. To avoid
registering privilege requests for tables in the WITH clauses in a
query, we collect the names of such tables when visiting the SqlNode
representing the query and make sure we don't register privilege
requests for those tables in the WITH clauses because those tables
are not actual tables.

Change-Id: I555688b6c1e1677fc3d81831171a7241a1fb33c1
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteAnalysisDriver.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteMetadataHandler.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteParsedStatement.java
A 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaPrivilegeRequestsRegistrar.java
4 files changed, 185 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/99/22299/4
--
To view, visit http://gerrit.cloudera.org:8080/22299
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I555688b6c1e1677fc3d81831171a7241a1fb33c1
Gerrit-Change-Number: 22299
Gerrit-PatchSet: 4
Gerrit-Owner: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>

Reply via email to