Re: Using Hive UDF in pig

2016-04-13 Thread Alan Gates
Pig does not have access to Hive’s metastore to locate default functions, so you will have to use the full class name. Alan. > On Apr 13, 2016, at 01:51, Siddhi Mehta wrote: > > Hey Guys, > > I have created a custom Hive UDF and have registered it as a permanent > function

Using Hive UDF in pig

2016-04-12 Thread Siddhi Mehta
Hey Guys, I have created a custom Hive UDF and have registered it as a permanent function using CREATE FUNCTION myfunc AS 'com.package.mycustomfunc' USING JAR 'applog-udf.jar', FILE 'distributedcachedir; I want to make use of the same hive udf in pig as per jira PIG-3294