You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Quanlong Huang (Code Review)" <ge...@cloudera.org> on 2020/01/27 15:31:47 UTC

[Impala-ASF-CR] IMPALA-9329: Don't add nested columns in TableMaskingView

Quanlong Huang has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/15108 )

Change subject: IMPALA-9329: Don't add nested columns in TableMaskingView
......................................................................

IMPALA-9329: Don't add nested columns in TableMaskingView

We don't support nested columns in SelectList. If a table contains
nested columns and contains column masking policies on its primitive
columns, we should not add the nested columns in the TableMaskingView.

Tests:
 - Add test in test_ranger.py to cover tables contaning nested types.

Change-Id: I1cc5565c64c1a4a56445b8edde59b1168f387791
---
M fe/src/main/java/org/apache/impala/analysis/InlineViewRef.java
M fe/src/main/java/org/apache/impala/authorization/TableMask.java
M testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking.test
M tests/authorization/test_ranger.py
4 files changed, 43 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/15108/3
-- 
To view, visit http://gerrit.cloudera.org:8080/15108
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1cc5565c64c1a4a56445b8edde59b1168f387791
Gerrit-Change-Number: 15108
Gerrit-PatchSet: 3
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>