Re: Import libraries in Jython UDFs

2013-01-29 Thread Russell Jurney
Fixed by https://issues.apache.org/jira/browse/PIG-2665 in Pig 0.11 On Wed, Jul 25, 2012 at 10:16 PM, Russell Jurney wrote: > Does Jython.jar have the base libs? > > I'm running this in local mode, btw. > > Russell Jurney > twitter.com/rjurney > russell.jur...@gmail.com > datasyndrome.com > > On

Re: Jython 'import re' problem

2013-01-29 Thread Russell Jurney
This was resolve by https://issues.apache.org/jira/browse/PIG-2665 , HOLLA! 0.11 works :) On Tue, Jan 29, 2013 at 9:10 AM, Russell Jurney wrote: > Offending code: > > @outputSchema("token:chararray") > def remove_punctuation(self, token): > punctuation = re.compile(r'[-.@&$#`\'?!,> words = l

Re: How many nested bincond operator does pig support?

2013-01-29 Thread Jonathan Coveney
There was an issue in the parser that has been resolved in trunk (I forget if it went into 0.11 or not). Can you test your script on trunk and see if you still have the issue? 2013/1/28 Dongliang Sun > Hi All, > > When there are too many nested bincond operators (more than 10), it's > frozen th