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
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/
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