[Impala-ASF-CR] IMPALA-7671: Fix broken SHOW GRANT USER ON

Fri, 05 Oct 2018 14:14:41 -0700

Fredy Wijaya has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/11598 )

Change subject: IMPALA-7671: Fix broken SHOW GRANT USER ON <object>
......................................................................

IMPALA-7671: Fix broken SHOW GRANT USER ON <object>

This patch fixes the broken SHOW GRANT USER ON <object> that always
shows an empty result due to incorrect comparison between TPrivilege for
the filter vs TPrivilege for the actual privilege that should not
consider the "grantoption".

Testing:
- Added new E2E tests
- Ran all FE tests
- Ran all authorization E2E tests

Change-Id: I7adc403caddd18e5a954cf6affd5d1d555b9f5f0
---
M fe/src/main/java/org/apache/impala/catalog/AuthorizationPolicy.java
M testdata/workloads/functional-query/queries/QueryTest/show_grant_user.test
M tests/common/impala_test_suite.py
3 files changed, 23 insertions(+), 2 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7adc403caddd18e5a954cf6affd5d1d555b9f5f0
Gerrit-Change-Number: 11598
Gerrit-PatchSet: 2
Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Adam Holley <ahol...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Vuk Ercegovac <vercego...@cloudera.com>

Reply via email to