Fang-Yu Rao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18498


Change subject: IMPALA-11269: Combine log entries of column accesses in the 
same table
......................................................................

IMPALA-11269: Combine log entries of column accesses in the same table

This patch consolidates the Ranger audit log entries of column accesses
granted by the same policy for columns in the same table when a query is
successfully authorized.

Testing:
 - Revised the expected results in the existing FE tests related to
   Ranger audit log.
 - Added a new test case to verify we do not combine Ranger audit log
   entries of column accesses granted by different policies even though
   those columns belong to the same table.

Change-Id: Ib8c9522d3518f9523ab4539cdf51f5ee0b17cb7c
---
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationContext.java
M 
fe/src/test/java/org/apache/impala/authorization/ranger/RangerAuditLogTest.java
3 files changed, 142 insertions(+), 121 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/98/18498/1
--
To view, visit http://gerrit.cloudera.org:8080/18498
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8c9522d3518f9523ab4539cdf51f5ee0b17cb7c
Gerrit-Change-Number: 18498
Gerrit-PatchSet: 1
Gerrit-Owner: Fang-Yu Rao <[email protected]>

Reply via email to