Fang-Yu Rao has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/18561 )
Change subject: IMPALA-11281: Load table metadata for ResetMetadataStmt ...................................................................... IMPALA-11281: Load table metadata for ResetMetadataStmt This patch loads the metadata of the table for ResetMetadataStmt if the table is not null and Ranger table masking is supported so that the information about the columns of the table could be used to check whether masking is enabled for any column in the table and thus the update operation on a table where there is a masking policy defined on any column could be blocked. Testing: - Added an E2E test to verify the update operation on a table by a requesting user would be denied if there is a column masking policy defined on any column in the table for the requesting user even though the table metadata have been invalidated immediately before the requesting user attempts to invalidate the table metadata again. Change-Id: I0c90b413974223886661697f11844d99a68fdebf --- M fe/src/main/java/org/apache/impala/analysis/StmtMetadataLoader.java M tests/authorization/test_ranger.py 2 files changed, 40 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/61/18561/3 -- To view, visit http://gerrit.cloudera.org:8080/18561 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I0c90b413974223886661697f11844d99a68fdebf Gerrit-Change-Number: 18561 Gerrit-PatchSet: 3 Gerrit-Owner: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
