> > > You can look at the following test case in the source tree to guide you on > how to build a udf. Will put this on the wiki. > > create_genericudf.q > udf_testlength.q >
Hi Ashish, I found the udf_testlength.q script and the class that if refers. However, I couldn't find the create_genericudf.q file. I grepped the entire release, but could not find the string 'genericudf' anywhere. This is the release in which I'm looking -- http://apache.mirrors.tds.net/hadoop/hive/hive-0.3.0/hive-0.3.0-hadoop-0.18.0-dev.tar.gz In fact, the file ./src/ql/src/java/org/apache/hadoop/hive/ql/exec/UDF.java itself does not refer to GenericUDF. Saurabh. -- http://nandz.blogspot.com http://foodieforlife.blogspot.com
