You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2019/01/31 00:06:00 UTC
[jira] [Created] (HIVE-21188) SemanticAnalyzerException for query
on view with masked table
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)