blob: 4c91c70881bac2525d1a771f39f6dca7c3ad3baa [file] [log] [blame]
set hive.test.authz.sstd.hs2.mode=true;
set hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest;
set hive.security.authenticator.manager=org.apache.hadoop.hive.ql.security.SessionStateConfigUserAuthenticator;
set hive.security.authorization.enabled=true;
-- check create view without select privileges
create table t1(i int);
set user.name=user1;
create view v1 as select * from t1;