Home >> Big Data Hadoop >> Pig Group Operator in Big Data Hadoop

Pig Group Operator in Big Data Hadoop

The GROUP operator is used to group the data in one or more relations. It collects the data having the same key.

grunt> group_data = GROUP student_details by age;

grunt> Describe group_data;

grunt> Illustrate group_data;

Grouping by Multiple Columns

grunt> group_multiple = GROUP student_details by (age, city);

Group All

grunt> group_all = GROUP student_details All;

grunt> Dump group_all; 

 

Post Your Comment

Next Questions
Pig Join Operator
Pig Group Operators
Pig Cogroup Operator
Pig Built-in functions(EVAL)
Pig Built-in functions
Pig Load &Store Function
Sqoop Prerequisites
Sqoop Installation
Sqoop Topics
What is Sqoop
Sqoop architecture
Sqoop Eval
Sqoop import command
Sqoop import table with columns
Sqoop incremental import
Sqoop import all tables
Sqoop export command
Sqoop import export key word
Sqoop Job
Sqoop Codegen
Sqoop job scheduling
Sqoop cron Job
Sqoop cron job example
Hive Prerequisites
Hive Installation

Copyright ©2022 coderraj.com. All Rights Reserved.