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.

NiFi: PutHiveQL reflect UDF not working

Solved Go to solution
Highlighted

NiFi: PutHiveQL reflect UDF not working

Rising Star

For a simple reflect function as below which works in HIVE shell, cannot be executed through PutHiveQL processor. Do you know if this is an expected behavior?

SELECT reflect("java.util.UUID", "nameUUIDFromBytes", "test") from dual

10367-nifi-hive-reflect.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Re: NiFi: PutHiveQL reflect UDF not working

One needs to allow for a reflect function, it's blacklisted by default. See e.g. this discussion: https://community.hortonworks.com/questions/25828/udf-reflect-is-not-allowed-beeline.html

1 REPLY 1

Re: NiFi: PutHiveQL reflect UDF not working

One needs to allow for a reflect function, it's blacklisted by default. See e.g. this discussion: https://community.hortonworks.com/questions/25828/udf-reflect-is-not-allowed-beeline.html