Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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