blob: da96c617813cd290f8e598c88fdd3e64ad89aeaa [file]
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 add partition without insert privilege
create table t1(i int, j int);
set user.name=user1;
truncate table t1;