[
https://issues.apache.org/jira/browse/RANGER-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950062#comment-17950062
]
Marco Luzzara commented on RANGER-5174:
---------------------------------------
Thank you [~madhan] for solving the issue! I am using the public Docker image
(2.6.0), but this fix is included in the next release (2.7.0). When are you
going to publish it? Thanks again.
> failure in evaluating expressions in row-filter
> -----------------------------------------------
>
> Key: RANGER-5174
> URL: https://issues.apache.org/jira/browse/RANGER-5174
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.7.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Row-filter policies support expressions to refer to context attributes like
> user attributes, tags, tag attributes, user-groups, user-roles; for example:
> "{{{}country = $\{{USER.country{}}}}}". Ranger policy engine uses a script
> engine to evaluate such expressions. Instantiation of the script engine fails
> with the following error in Trino plugin:
> {noformat}
> org.apache.ranger.plugin.conditionevaluator.RangerScriptConditionEvaluator
> createScriptEngine(serviceType=trino): failed to create script engine
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)