Description
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.
Attachments
Issue Links
- links to