Javatpoint Logo

91-9990449935

 0120-4256464

Pig Latin Concepts

There are 3 main Latin concepts of Apache Pig: Field, Tuple and Bag. The Latin concepts of Apache Pig are given below.

Field: Each piece of data is called field.

Tuple: Ordered set of fields, represented by "(" and ")".

Bag: Collection of tuple, represented by "{" and "}". Form RDBMS point of view, Bag is a table.

Note: The number of values in tuples of a bag can be different. Tuple is a row.

Example:

Next TopicPig Data Types