pig-user  

piggybank/register is there a better way?

Ian Holsman
Fri, 10 Oct 2008 09:09:52 -0700

So I have been watch (and using) Earl's latest patches with great joy
but I was wondering if there was a less cumbersome way of specifying the functions

for example


searchTerms = FOREACH row GENERATE 
org.apache.pig.piggybank.evaluation.util.apachelogparser.SearchTermExtractor(url);

vs

searchTerms = FOREACH row GENERATE SearchTermExtractor(url);

is there a way via introspection or something to make it so that we don't need to specify the full class path?

regards
Ian