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

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

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

Pengcheng Xiong updated HIVE-13910:
-----------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: HIVE-13125

> [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: Sub-task
>            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)