Thanks Dmitriy,

Marius

On Mon, Jun 27, 2011 at 8:02 PM, Dmitriy Ryaboy <[email protected]> wrote:

> StoreFuncs can only take string arguments.
>
> On Mon, Jun 27, 2011 at 1:01 AM, Marius Danciu <[email protected]
> >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)
> >
> > Pig yields a compile error complaining about value 1.
> >
> > Also even for a single argument (like MyStorage(1)) it seems to only work
> > if
> > the argument is String. otherwise it fails to compile.
> >
> > Could anyone please clarify this?
> >
> > Thanks,
> > Marius
> >
>

Reply via email to