Highlight the difference between group and Cogroup operators in Pig?
Answer Posted / Nisha Bala
The main difference between GROUP and COGROUP operators lies in the number of relations they operate on: GROUP operates on one relation, whereas COGROUP operates on two or more relations. GROUP groups tuples based on a specified field or expression within a single relation, while COGROUP groups tuples together from multiple relations based on a common grouping field.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers