Support Questions

Find answers, ask questions, and share your expertise

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

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.