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

Hive QA commented on HIVE-23607:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13004778/HIVE-23607.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 17103 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/22740/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22740/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22740/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13004778 - PreCommit-HIVE-Build

> 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
>              Labels: pull-request-available
>         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)

Reply via email to