Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6573

Create consistent response on column access failures.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:

      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.
       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aholley Adam Holley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: