hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Updated] (HIVE-5923) SQL std auth - parser changes
Date Thu, 02 Jan 2014 07:08:51 GMT


Thejas M Nair updated HIVE-5923:

    Attachment: HIVE-5923.3.patch

HIVE-5923.3.patch - Fixing unit test issues. 

What is included in the patch - 
Grant privilege and revoke privilege statements need to be changed to remove the requirement
(but not the option) for the noise word TABLE. In the SQL specification table is the assumed
default for grant and revoke statements. Today Hive’s syntax is GRANT action ON TABLE table
TO grantee. It should be GRANT action ON [TABLE] table TO grantee.

Grant role and revoke role statements has been changed to remove the need for keyword ROLE.

Support for WITH ADMIN OPTION needs to be added to grant role and revoke role statement syntax.

Created another followup jira - HIVE-6127- SQL std auth - make role/user optional in grant/revoke
statements .

> SQL std auth - parser changes
> -----------------------------
>                 Key: HIVE-5923
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Authorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-5923.1.patch, HIVE-5923.2.patch, HIVE-5923.3.patch
>   Original Estimate: 96h
>          Time Spent: 72h
>  Remaining Estimate: 12h
> There are new access control statements proposed in the functional spec in HIVE-5837
. It also proposes some small changes to the existing query syntax (mostly extensions and
some optional keywords).
> The syntax supported should depend on the current authorization mode.

This message was sent by Atlassian JIRA

View raw message