[
https://issues.apache.org/jira/browse/HIVE-24182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naveen Gangam resolved HIVE-24182.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Fix has been push to master for 4.0.0. Thank you for the patch [~kishendas]
> Ranger authorization issue with permanent UDFs
> ----------------------------------------------
>
> Key: HIVE-24182
> URL: https://issues.apache.org/jira/browse/HIVE-24182
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Kishen Das
> Assignee: Kishen Das
> Priority: Major
> Fix For: 4.0.0
>
>
> We are creating the permanent function names as WINDOW_FUNC_PREFIX +
> DB.PERMANENT_FUNCTION_NAME which was introduced by
> https://issues.apache.org/jira/browse/HIVE-12719 .
> When we populate read entities for permanent functions, we add ReadEntity
> which has DB in the format WINDOW_FUNC_PREFIX + DB. Since Ranger policies are
> only configured for a given database whose name is just DB and not
> WINDOW_FUNC_PREFIX + DB, we should modify the DB name to remove the prefix
> WINDOW_FUNC_PREFIX, when we are creating the read entity.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)