apache pig latin group by generate code example Example: pig latin group by grunt> Group_Data = GROUP Relation_Name BY column_name;