I developed hive udf in java that works correctly, my function returns the best match between the input and the column in the hive table, so it has this simplified pseudocode:
class myudf extends udf{ evaluate(Text input){ getNewHiveConnection();
My question is: if this function is called by Hive, why do I need to connect to the hive in my code? can i use the current connection that the user who uses my function is connected?
java hive user-defined-functions udf
54l3d
source share