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

Switch to Threaded View
Pig >> mail # user >> FLATTEN() behavior difference in 0.8.1 and 0.10.0 ?


Copy link to this message
-
FLATTEN() behavior difference in 0.8.1 and 0.10.0 ?
my UDF returns a bag of tuples : mybag:bag{ mytuple: tuple ( x: int, y:int)}

in my pig script:

I do

K = foreach blah generate UDF( xxx);

M = foreach K generate x;
here PIG 0.8.1 says x can not be found in schema, since

describe K

shows:
{ mytuple:tuple(x:int , y:int) }

while 0.10.0

shows
{x:int, y:int}