hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13910) [Ranger-Hive] select from a table is not working if used as <dbname.tablename>
Date Fri, 03 Jun 2016 21:06:59 GMT

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

Pengcheng Xiong updated HIVE-13910:
-----------------------------------
    Fix Version/s:     (was: 2.2.0)
                   2.1.0

> [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
>    Affects Versions: 2.0.0
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13910.01.patch
>
>
> {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)

Mime
View raw message