Adam Holley created IMPALA-6573:
-----------------------------------

             Summary: Create consistent response on column access failures.
                 Key: IMPALA-6573
                 URL: https://issues.apache.org/jira/browse/IMPALA-6573
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
            Reporter: Adam Holley
            Assignee: Adam Holley


If a user does not have access to a column there is currently an inconsistent 
response for complex column types.

e.g.
create table default.t1 (
  c3 array<struct<a1:array<int>,a2:array<struct<x:int,y:int,a3:array<int>>>>>,
  c5 
map<int,struct<m1:map<int,string>,m2:map<int,struct<x:int,y:int,m3:map<int,int>>>>>
)
where user has column-level privileges on 'c3', but not on 'c5'
 
select 1 from t1.c5.z returns a PrivilegeException on t1.c5.
select 1 from t1.c5.m1 returns a PrivilegeException on t1.
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to