Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Create temporary function works fine with Hive command but not for beeline

Create temporary function works fine with Hive command but not for beeline

New Contributor

When I use beeline command I was able to add jar libraries but not able to create temporary function but the same works fine when I use hive command. Please let me know if I'm missing anything with permissions.

jdbc:hive2://server:3800> CREATE TEMPORARY FUNCTION arraymerge as 'ArrayComparison';
Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [procesid] does not have [CREATE] privilege on [arraymerge] (state=42000,code=40000)

===================================
hive> CREATE TEMPORARY FUNCTION arraymerge as 'ArrayComparison';
OK
Time taken: 0.599 seconds





@jbarnett

Don't have an account?
Coming from Hortonworks? Activate your account here