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

Ashutosh Chauhan commented on HIVE-21188:
-----------------------------------------

+1 pending tests

> SemanticException for query on view with masked table
> -----------------------------------------------------
>
>                 Key: HIVE-21188
>                 URL: https://issues.apache.org/jira/browse/HIVE-21188
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-21188.patch
>
>
> When view reference is fully qualified. Following q file can be used to 
> reproduce the issue:
> {code}
> --! qt:dataset:srcpart
> --! qt:dataset:src
> set hive.mapred.mode=nonstrict;
> set 
> hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest;
> create database atlasmask;
> use atlasmask;
> create table masking_test_n8 (key int, value int);
> insert into masking_test_n8 values(1,1), (2,2);
> create view testv(c,d) as select * from masking_test_n8;
> select * from `atlasmask`.`testv`;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to