Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Unoverride load in PigUint


Copy link to this message
-
Re: Unoverride load in PigUint
Ruslan Al-Fakikh 2013-12-20, 21:53
Hi Serega!

Have you resolved the issue? I am going to encounter the same problem, but
I don't know a solution.

Thanks
On Sun, Dec 15, 2013 at 6:07 PM, Serega Sheypak <[EMAIL PROTECTED]>wrote:

> Hi!
> 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.
>