sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SENTRY-55) URI path to UDF jar is not required for select queries involving UDFs
Date Tue, 16 Sep 2014 20:23:34 GMT

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

Mime
View raw message