-Re: Unoverride load in PigUint
Ruslan Al-Fakikh 2013-12-20, 21:53
Have you resolved the issue? I am going to encounter the same problem, but
I don't know a solution.
On Sun, Dec 15, 2013 at 6:07 PM, Serega Sheypak <[EMAIL PROTECTED]>wrote:
> By default PigUnit does override LOAD statements
> Is there any possiblity to void this?
> I'm using AvroStorage because of evolving schemas and I would like to write
> in my tests:
> --load test dataset
> in = LOAD '$pathToIn' using AvroStorage();
> --project the fields I need
> inProjected = FOREACH in GENERATE f1, f2;
> Right now I can't do this. PigUnit requires explicit field projection on
> LOAD statement.