Details
Description
In beeline, useraa create table hive_test, such as : CREATE TABLE hive_test(b string) PARTITIONED BY (a string); then in ranger admin UI add a policy for userbb, the policy has only "SELECT" of table hive_test; in beeline userbb execute "truncate table hive_test" / "insert into hive_test partition(a=20171003) select 1 from hive_test" is allowed.