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

how to run the unit test in the source code about the row-level filter and column mask

Contributor

hi all, i don't find the place to run the unit test for row-level filter and column mask, and when i add the row-level filter policy to the hive-agent test resource, it doesn't work. So how can i do it? i use ranger 0.6.

1 REPLY 1

Expert Contributor
@li zhen

Unit test are added in ranger 0.7. Please refer that and it should also work for you.

https://github.com/apache/ranger/blob/ranger-0.7/hive-agent/src/test/java/org/apache/ranger/services...