Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/15140 )

Change subject: IMPALA-9348: Add flag to disable column masking
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/15140/1/fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java
File 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java:

http://gerrit.cloudera.org:8080/#/c/15140/1/fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java@193
PS1, Line 193:       if (!isColumnMaskingEnabled_
authorizeColumnMask() is the legacy codes before IMPALA-9009. I just add the 
new flag inside this function. It doesn't belong to the new code of 
IMPALA-9009. It will block any access to columns with column masking policies 
if the flag is false.

> BTW, the check for if (!isColumnMaskingEnabled_) is being done twice ..is 
> that needed ?

Oops, I'll remove the check here.



--
To view, visit http://gerrit.cloudera.org:8080/15140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ife7c98042cfb831ba00d9d2179367cba257b77a0
Gerrit-Change-Number: 15140
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Aman Sinha <amsi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Comment-Date: Fri, 31 Jan 2020 04:05:18 +0000
Gerrit-HasComments: Yes

Reply via email to