I'm just porting a json StoreFunc class method I wrote from pig 0.6 to pig
0.8 so I can take advantage of the schema that the Store's can use from 0.7
I'm overloaded the method to get the chema when the saving starts but am
finding the ResourceSchema object being sent is always null so I'm not able
to use it.
I've put a few samples of this online so you can see here
https://gist.github.com/804551 (I'll be open sourcing all of this once I'm
I'm testing this out with the following Pig Code.
A = LOAD "test" AS (a:chararray, b:chararray);
STORE A USING ... JsonStorage();
Is this correct or is there another way to get the schema for the StoreFunc?
Dan Harvey | Datamining Engineer
Mendeley Limited | London, UK | www.mendeley.com
Registered in England and Wales | Company Number 6419015