I what to access an external resource (database) from a custom Hive's UDF, what is the best way to pass credentials to the UDF?
I tried to set properties via SET:
SET my.udf.credentials=...;
SELECT myUdf(someColumn) FROM someTable;
and to access them via HiveConf in a GenericUDAFEvaluator's init method, but it doesn't work. Any suggestions?