You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2019/01/31 00:07:00 UTC

[jira] [Work started] (HIVE-21188) SemanticAnalyzerException for query on view with masked table

     [ https://issues.apache.org/jira/browse/HIVE-21188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HIVE-21188 started by Jesus Camacho Rodriguez.
------------------------------------------------------
> 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
>            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)