Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi: PutHiveQL reflect UDF not working

avatar
Expert Contributor

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

avatar

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

View solution in original post

1 REPLY 1

avatar

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