You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/09/16 22:23:34 UTC

[jira] [Resolved] (SENTRY-55) URI path to UDF jar is not required for select queries involving UDFs

     [ https://issues.apache.org/jira/browse/SENTRY-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sravya Tirukkovalur resolved SENTRY-55.
---------------------------------------
    Resolution: Not a Problem

rand() and concat() are inbuilt UDFs and hence do not require URI privileges.

> URI path to UDF jar is not required for select queries involving UDFs
> ---------------------------------------------------------------------
>
>                 Key: SENTRY-55
>                 URL: https://issues.apache.org/jira/browse/SENTRY-55
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>         Attachments: SENTRY-55-test.patch
>
>
> For query of the form "select rand(),concat(value, '_foo') FROM tb1"
> URI privilege on the UDF jar is not required.
> Reproduce:
> TestPrivilegesAtFunctionScope#testUdfWhiteList passes even after commenting out URI privilege.



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