You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Adam Holley (JIRA)" <ji...@apache.org> on 2018/02/23 19:08:00 UTC

[jira] [Created] (IMPALA-6573) Create consistent response on column access failures.

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)