Securing Apache Hive
Also available as:

Filter rows based on Ranger policies

You can filter rows from query results based on Apache Ranger policies.

The Apache Ranger Row Level Filter filter is similar to existing access policies and contains filters for specific users, groups, and conditions. Filters are evaluated in order by priority. Wilcard matching of the database or table is not supported
  1. Create a row level filter in the WHERE clause for each table or view.
  2. Exclude users, groups, and conditions from row-level filtering according to your needs.