Kishen Das created HIVE-24182: --------------------------------- Summary: 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
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 fix the DB name, when we are creating the read entity. -- This message was sent by Atlassian Jira (v8.3.4#803005)