0.3 is quite old. You should look at trunk http://svn.apache.org/repos/asf/hadoop/hive. We are going to create a 0.4 branch soon.
On 7/15/09 4:55 AM, "Saurabh Nanda" <[email protected]> wrote: >> >> 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.
