But…!
Tuesday, February 22, 2011
3:57 PM
But…!
A field can be anything, including
A primitive data type (e.g., int, float, chararray). 
Another tuple, e.g., (George, 5)
An inner bag of tuples, e.g., 
{ (George, 5), (Beth, 10) }
And types can be mixed within one relation! 
So, it is perfectly reasonable to have a relation
DUMP R; -- how you debug in pig!
(George, 5)
(Beth, {2,3,4})
({Beth,George},17)
which contains
a tuple of a chararray and an int
a tuple of a chararray and a bag of ints. 
a tuple of a bag of chararrays and an int