Interview practice question
Region-based access on one table
Data Engineering · Databricks · Intermediate
Sales managers in each country should only see their country's rows in a shared sales table. How do you implement it in Unity Catalog?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Create a row filter function using group membership.
- Map groups to countries in a mapping table if many countries.
- Attach with ALTER TABLE SET ROW FILTER.
- Global roles can see all rows.
- Test with different users.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.