RE: PIG Newbie question: error using substring

2010-09-21 Thread Ravi Fernando
Thanks Renato...I will build it and give it a try. --Ravi -Original Message- From: Renato Marroquín Mogrovejo [mailto:renatoj.marroq...@gmail.com] Sent: Tuesday, September 21, 2010 4:24 PM To: pig-user@hadoop.apache.org Subject: Re: PIG Newbie question: error using substring Hi

Re: PIG Newbie question: error using substring

2010-09-21 Thread Renato Marroquín Mogrovejo
Hi Ravi, you have to register the piggybank jar at the beggining of your pig script. {code} REGISTER /workspace/pig-test/contrib/piggybank/java/piggybank.jar; ... {/code} If you don't have it, you will have to build it from source using the ant command, and then import it. Renato M. 2010/9/

PIG Newbie question: error using substring

2010-09-21 Thread Ravi Fernando
Hi, I am trying to use SUBSTRING like this: ..generate SUBSTRING($19, 1, 13) as name I get an error complaining that it cannot resolve substring using importsError 1070 Do I have to register any external jars, and if so which one? Thanks. --Ravi