• +91 9723535972
  • info@interviewmaterial.com

Hadoop Interview Questions and Answers

Question - What are the relational operators in Pig?

Answer -

The relational operators in Pig are as follows:

COGROUP
It joins two or more tables and then performs GROUP operation on the joined table result.

CROSS
This is used to compute the cross product (cartesian product) of two or more relations.

FOREACH
This will iterate through the tuples of a relation, generating a data transformation.

JOIN
This is used to join two or more tables in a relation.

LIMIT
This will limit the number of output tuples.

SPLIT
This will split the relation into two or more relations.

UNION
It will merge the contents of two relations.

ORDER
This is used to sort a relation based on one or more fields.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners