Re: Load a file in a Python UDF

2014-08-11 Thread Russell Jurney
Thanks for the tip, it looks like this will work. On Thursday, July 24, 2014, Jeremy Karn wrote: > Hi Russell, > > This might be a bit late, but here's an example of how you can load a file > in python and pass the results back to Pig: > https://github.com/mortarcode/python-files > > It's a Mort

Re: Load a file in a Python UDF

2014-07-24 Thread Jeremy Karn
Hi Russell, This might be a bit late, but here's an example of how you can load a file in python and pass the results back to Pig: https://github.com/mortarcode/python-files It's a Mortar project but the pig script ( https://github.com/mortarcode/python-files/blob/master/pigscripts/python-files.p

Load a file in a Python UDF

2014-07-20 Thread Russell Jurney
I need to load a file and loop through it during the execution of a python UDF. Is this possible? How? -- Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome.com ᐧ