You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/06/01 22:12:59 UTC

[jira] [Created] (HIVE-13910) [Ranger-Hive] select from a table is not working if used as

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)