Skip to content

Commit

Permalink
h5. Using Marcos in Row Level Filters
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Aug 18, 2022
1 parent 849bed5 commit 9dd1cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/security/authorization/spark/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ for pointing to the right Ranger admin server.

</configuration>
```
- Additional configs for using Marcos in row-level filter
##### Using Marcos in Row Level Filters
- Macros are now supported for using user/group/tag in row-filter condition expression, introduced in [Ranger 2.3](https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+2.3.0+-+Release+Notes). This feature helps significantly simplify the row-filter condition expression by replacing explicit condition query by using user/group/tag's attributes.
- Consider user `bowenliang123` with an attribute `born_city` of value `Guangzhou `, the row filter condition as `city='${{USER.born_city}}'` will be transformed to `city='Guangzhou'` in execution plan.
- More supported marcros and usage refer to [RANGER-3605](https://issues.apache.org/jira/browse/RANGER-3605) and [RANGER-3550](https://issues.apache.org/jira/browse/RANGER-3550).
Expand Down

0 comments on commit 9dd1cd4

Please sign in to comment.