hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7061) sql std auth - insert queries without overwrite should not require delete privileges
Date Thu, 22 May 2014 18:39:01 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thejas M Nair updated HIVE-7061:
--------------------------------

    Attachment: HIVE-7061.3.patch

HIVE-7061.3.patch - 
Addressing review comments.
Fixed the one related failed test case (user name was not set, so the test output had my name
in 'show grants' output).


> sql std auth - insert queries without overwrite should not require delete privileges
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-7061
>                 URL: https://issues.apache.org/jira/browse/HIVE-7061
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, SQLStandardAuthorization
>    Affects Versions: 0.13.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-7061.1.patch, HIVE-7061.2.patch, HIVE-7061.3.patch
>
>
> Insert queries can do the equivalent of delete and insert of all rows of a table or partition,
if the overwrite keyword is used. As a result DELETE privilege is applicable to such queries.
> However, SQL Standard auth requires DELETE privilege even for queries that don't have
the overwrite keyword.



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

Mime
View raw message