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

Switch to Threaded View
Pig, mail # user - small problem with pigUnit


Copy link to this message
-
small problem with pigUnit
Yang 2012-06-23, 00:34
if I have an assert line:

assertOutput('myinput' , input_data, 'myoutput', output_data);
and in my test pig script, I dump out the var myoutput:

dump myoutput;

the UDF used in the script fails to get its parameters , i.e. for the
following script:
myinput = LOAD 'blahblah' as x: tuple(something something something);

myoutput = FOREACH myinput GENERATE myUDF(x);

dump myoutput;  ------  this causes problems

STORE myoutput INTO 'blahbbbbbbb';

does this sound like a bug?

Thanks
Yang