[
https://issues.apache.org/jira/browse/HIVE-11175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Damien Carol updated HIVE-11175:
--------------------------------
Description:
{code:sql}create function xxx as 'xxx' using jar 'file://foo.jar' {code}
gives error code for need of accessing a local foo.jar resource with ADMIN
privileges. Same for HDFS (DFS_URI) .
problem is that the semantic analysis enforces the ADMIN privilege for write
but the jar is clearly input not output.
Patch und Testcase appendend.
was:
{{create function xxx as 'xxx' using jar 'file://foo.jar' }}
gives error code for need of accessing a local foo.jar resource with ADMIN
privileges. Same for HDFS (DFS_URI) .
problem is that the semantic analysis enforces the ADMIN privilege for write
but the jar is clearly input not output.
Patch und Testcase appendend.
> create function using jar does not work with sql std authorization
> ------------------------------------------------------------------
>
> Key: HIVE-11175
> URL: https://issues.apache.org/jira/browse/HIVE-11175
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Affects Versions: 1.2.0
> Reporter: Olaf Flebbe
> Fix For: 2.0.0
>
> Attachments: HIVE-11175.1.patch
>
>
> {code:sql}create function xxx as 'xxx' using jar 'file://foo.jar' {code}
> gives error code for need of accessing a local foo.jar resource with ADMIN
> privileges. Same for HDFS (DFS_URI) .
> problem is that the semantic analysis enforces the ADMIN privilege for write
> but the jar is clearly input not output.
> Patch und Testcase appendend.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)