You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/04 06:13:00 UTC

[jira] [Work logged] (HIVE-23607) Permission Issue: Create view on another view succeeds but alter view fails

     [ https://issues.apache.org/jira/browse/HIVE-23607?focusedWorklogId=441121&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-441121 ]

ASF GitHub Bot logged work on HIVE-23607:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Jun/20 06:12
            Start Date: 04/Jun/20 06:12
    Worklog Time Spent: 10m 
      Work Description: nareshpr opened a new pull request #1058:
URL: https://github.com/apache/hive/pull/1058


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 441121)
    Remaining Estimate: 0h
            Time Spent: 10m

> Permission Issue: Create view on another view succeeds but alter view fails  
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-23607
>                 URL: https://issues.apache.org/jira/browse/HIVE-23607
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Naresh P R
>            Assignee: Naresh P R
>            Priority: Major
>         Attachments: HIVE-23607.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> create table test_table (id int);
> create view test_view as select * from test_table;
>  
> {code:java}
> -- user "naresh" as read access on test_view
> -- Create view succeeds
> create view test_view_1 as select * from test_view;
> -- Alter view fails
> alter view test_view_1 as select * from test_view
> Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [naresh] does not have [SELECT] privilege on [test/test_table] (state=42000,code=40000)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)