'RANGER Hadoop SQL policies on two tables with same name but different Databases

I have this databases situation:

Databases: db1 and db2

Tables: db1.table and db2.table

How to create a APACHE RANGER Hadoop SQL policies which grant permission to read and select data from db1.table but NOT on db2.table?

I tried to set db1.table on table list with include modes, but it doesn't work.

Are there other methods?



Solution 1:[1]

this fixed it
"exclude_globs": ["http://localhost:*/*"]
I had to put :* after host name for this to work properly.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1