You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2020/03/04 13:39:00 UTC
[jira] [Updated] (IMPALA-6573) Create consistent response on column
access failures.
[ https://issues.apache.org/jira/browse/IMPALA-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Kaszab updated IMPALA-6573:
---------------------------------
Labels: complextype (was: )
> Create consistent response on column access failures.
> -----------------------------------------------------
>
> Key: IMPALA-6573
> URL: https://issues.apache.org/jira/browse/IMPALA-6573
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Reporter: Adam Holley
> Priority: Minor
> Labels: complextype
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org