Support Questions
Find answers, ask questions, and share your expertise

Restricting combination of dataset is not working

Rising Star

img-20170911-wa0028.jpgI have a table, where I wanted to restrict a combination of 2 column, but its not working

can someone pls help

For some reason my policy screen shot is not clear. so here is the allow condition

Resources Accessd Together?: combination.toxic.state_tax,combination.toxic.local_tax

Hive Global Tables Allow is Disabled ( I have cheked in both the way )

/> select * from combination.toxic;
+--------------+----------------+------------------+------------------+--+
|  toxic.ssn   | toxic.fed_tax  | toxic.state_tax  | toxic.local_tax  |
+--------------+----------------+------------------+------------------+--+
| 234-56-7890  | 3114.0         | 8765.0           | 2346.0           |
| 345-67-8901  | 3509.0         | 10123.0          | 341.0            |
+--------------+----------------+------------------+------------------+--+



3 REPLIES 3

Re: Restricting combination of dataset is not working

Can you post the details on the policies? Do you see any error in hive server log?

Re: Restricting combination of dataset is not working

Rising Star

No error in hive server log

Re: Restricting combination of dataset is not working

Rising Star

@vperiasamy

Am trying to check through beeline