[ https://issues.apache.org/jira/browse/RANGER-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149724#comment-16149724 ]
Ramesh Mani commented on RANGER-1631: ------------------------------------- [~ekovacs] Thanks for the Patch. Commited to masater http://git-wip-us.apache.org/repos/asf/ranger/commit/95615f8e > create temp function failing with permission issues > --------------------------------------------------- > > Key: RANGER-1631 > URL: https://issues.apache.org/jira/browse/RANGER-1631 > Project: Ranger > Issue Type: Bug > Components: Ranger > Affects Versions: 1.0.0, master > Reporter: Ramesh Mani > Assignee: Ramesh Mani > Fix For: 1.0.0, 0.7.2 > > > create temp function failing with permission issues, even when the policy is > maintained for database=*, table=*, column=*. Reason being Hive didn't send > database name. In earlier version, this was working because resource match > did check for the hierarchy relation for the resource, not in current version > we do the check and this is causing the issue > SOLUTION: When create function is done and when database is null we need to > make the database="" so the check for hierarchy passes and policy get > evaluated. This is a workaround to avoid regression and actual fix has to be > done in HIVE , for which there is already a bug raised. -- This message was sent by Atlassian JIRA (v6.4.14#64029)