Csaba Ringhofer has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14867
Change subject: WIP: IMPALA-9222: Speed up show tables/databases if the user has access to parent db/server ...................................................................... WIP: IMPALA-9222: Speed up show tables/databases if the user has access to parent db/server Currently we always do the auth check for tables/databases individually. If the user has privileges higher in the hierarchy then it is not necessary to do these checks as they will all succeed. This change adds a higher level check before the individual checks. Testing: - the existing auth related test coverage seem enough - TODO: the tests didn't run successfully yet Change-Id: Ic1f5c5d1cf447a9f1cec46c45272f250b8580826 --- M fe/src/main/java/org/apache/impala/service/Frontend.java 1 file changed, 28 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/67/14867/1 -- To view, visit http://gerrit.cloudera.org:8080/14867 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ic1f5c5d1cf447a9f1cec46c45272f250b8580826 Gerrit-Change-Number: 14867 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]>
