Re: PigStorage help please

2011-06-27 Thread Marius Danciu
Thanks Dmitriy, Marius On Mon, Jun 27, 2011 at 8:02 PM, Dmitriy Ryaboy wrote: > StoreFuncs can only take string arguments. > > On Mon, Jun 27, 2011 at 1:01 AM, Marius Danciu >wrote: > > > Hello, > > > > I've written a custom storage for pig that mostly inherits PigStorage. > > However even if

Re: PigStorage help please

2011-06-27 Thread Dmitriy Ryaboy
StoreFuncs can only take string arguments. On Mon, Jun 27, 2011 at 1:01 AM, Marius Danciu wrote: > Hello, > > I've written a custom storage for pig that mostly inherits PigStorage. > However even if I have a public constructor with 2 arguments like > > > a = load '...' using MyStorage('some', 1)

PigStorage help please

2011-06-27 Thread Marius Danciu
Hello, I've written a custom storage for pig that mostly inherits PigStorage. However even if I have a public constructor with 2 arguments like a = load '...' using MyStorage('some', 1) Pig yields a compile error complaining about value 1. Also even for a single argument (like MyStorage(1)) it