Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.