Thejas M Nair created HIVE-6919:
-----------------------------------

             Summary: hive sql std auth select query fails on partitioned tables
                 Key: HIVE-6919
                 URL: https://issues.apache.org/jira/browse/HIVE-6919
             Project: Hive
          Issue Type: Bug
          Components: Authorization
    Affects Versions: 0.13.0
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
            Priority: Critical


{code}
analyze table studentparttab30k partition (ds) compute statistics;
Error: Error while compiling statement: FAILED: HiveAccessControlException 
Permission denied. Principal [name=hadoopqa, type=USER] does not have following 
privileges on Object [type=PARTITION, name=null] : [SELECT] 
(state=42000,code=40000)
{code}

Sql std auth is supposed to ignore partition level objects for privilege 
checks, but that is not working as intended.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to