Re: Using LoadFunc to get arbitrary data into Pig script

2012-09-07 Thread Dmitriy Ryaboy
Hi Thomas, This isn't a complete answer, but take a look at mock.Storage that Julien wrote to make testing easy: http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/builtin/mock/Storage.java D On Fri, Sep 7, 2012 at 6:34 AM, Thomas Schlosser wrote: > Hi all, > does anybody know what th

Using LoadFunc to get arbitrary data into Pig script

2012-09-07 Thread Thomas Schlosser
Hi all, does anybody know what the easiest/best way is to get the result of an arbitrary calculation, which is done in Java, into a Pig relation? At the end, I think I would like to have something like: A = LOAD '' USING CustomCalculationLoadFunc('$paramA', '$paramB'); Note: Input file/director