StoreFunc Schema

2011-01-31 Thread Dan Harvey
Hey, 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 onwards. I'm overloaded the method to get the chema when the saving starts but am finding the ResourceSchema object being sent is always null

Re: StoreFunc Schema

2011-02-01 Thread Daniel Dai
Looks like you should be able to get ResourceSchema in checkSchema, as long as the schema for the alias is not null. Daniel Dan Harvey wrote: Hey, 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