Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
ghx-label-8
Description
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.