There are quite a few tests are using Mock.Storage, you can take them
as reference. Eg:
http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestOrderBy3.java?view=markup
On Tue, Aug 5, 2014 at 1:08 AM, Alfonso Nishikawa
wrote:
> Hi, Daniel.
>
> Thank you!
> I get the following excepti
Hi, Daniel.
Thank you!
I get the following exception in the tasktracker nodes:
java.io.IOException: no Data anymore for this Script. Has data been reset
by another Storage.resetData(pigServer.getPigContext()) ?
at org.apache.pig.builtin.mock.Storage.getData(Storage.java:188)
at org.apache
Does org.apache.pig.builtin.mock.Storage work for you?
Thanks,
Daniel
On Mon, Aug 4, 2014 at 4:53 AM, Alfonso Nishikawa
wrote:
> Greetings.
>
> For testing purposes I need to create a relation in a Pig script.
> I found 2 questions about this in StackOverflow:
>
> http://stackoverflow.com/questi
Greetings.
For testing purposes I need to create a relation in a Pig script.
I found 2 questions about this in StackOverflow:
http://stackoverflow.com/questions/13414172/how-to-create-a-small-constant-relationtable-in-pig
http://stackoverflow.com/questions/12423399/define-tuple-datas-in-the-pig-s