You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2016/09/15 20:07:20 UTC

[jira] [Commented] (RANGER-1145) Policy engine optimization: convert wildcard matches into prefix and suffix match

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

Madhan Neethiraj commented on RANGER-1145:
------------------------------------------

Committed to ranger-0.6: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/d79f127c

> Policy engine optimization: convert wildcard matches into prefix and suffix match
> ---------------------------------------------------------------------------------
>
>                 Key: RANGER-1145
>                 URL: https://issues.apache.org/jira/browse/RANGER-1145
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>            Reporter: Madhan Neethiraj
>            Assignee: Abhay Kulkarni
>
> Ranger policies support resource values with wildcards - like test*, *.txt, /finance/*. For values that have wildcards at the beginning or at the end, which is likely to be most common, the match can be converted into endsWith() or startsWith() - which will be more efficient than doing a wildcard match.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)