Jesus Camacho Rodriguez created HIVE-21188:
----------------------------------------------

             Summary: SemanticAnalyzerException 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


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