Pengcheng Xiong created HIVE-13910:
--------------------------------------

             Summary: [Ranger-Hive] select from a table is not working if used 
as <dbname.tablename>
                 Key: HIVE-13910
                 URL: https://issues.apache.org/jira/browse/HIVE-13910
             Project: Hive
          Issue Type: Bug
            Reporter: Pengcheng Xiong
            Assignee: Pengcheng Xiong


{code}
set hive.mapred.mode=nonstrict;
set 
hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest;

create database newdb;

use newdb;

create table masking_test as select cast(key as int) as key, value from 
default.src;

use default;

explain select * from newdb.masking_test;
select * from newdb.masking_test;

explain select * from newdb.masking_test where key > 0;
select * from newdb.masking_test where key > 0;
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to