You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhishek Kumar (Jira)" <ji...@apache.org> on 2025/09/19 22:30:00 UTC

[jira] [Commented] (RANGER-5174) failure in evaluating expressions in row-filter

    [ https://issues.apache.org/jira/browse/RANGER-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021507#comment-18021507 ] 

Abhishek Kumar commented on RANGER-5174:
----------------------------------------

[~maluz] 


> 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)