Data types in Pig
Tuesday, February 22, 2011
3:45 PM
Data types in Pig: 
A field is a piece of data. 
A tuple is a sequence of 1 or more fields in parentheses,
e.g. (f1,f2,f3).
A bag is a set of tuples, e.g., {(1,2),(4,5,6)}
A relation is an outer bag.
An outer bag can be referred to by a top-level alias.
An inner bag doesn't have an alias.