Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the relation operations in Pig? Explain any two with examples?



What are the relation operations in Pig? Explain any two with examples?..

Answer / Ankush Soni

Apache Pig supports various relational operators to manipulate data within relations. Some common operators include:n1. SELECT: The SELECT operator is used to filter tuples based on a specified condition or to select specific fields from the relation.nExample: SELECT * FROM data WHERE field1 > 5;n2. JOIN: The JOIN operator is used to combine rows from two or more relations based on a common column.nExample: JOIN data1 BY id, data2 BY id; In this example, data1 and data2 are the input relations, and they are joined based on the 'id' field.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

Define Apache Pig?

1 Answers  


What are pig scripts?

1 Answers  


What are the components of Pig Execution Environment?

1 Answers  


Explain about the execution pl of a pig script?<Br> or<br> differentiate between the logical and physical plan of an apache pig script?

1 Answers  


Explain the LOAD keyword in Pig script?

1 Answers  


Differentiate between GROUP and COGROUP operators?

1 Answers  


What is Pig Storage?

1 Answers  


What are the use cases of Apache Pig?

1 Answers  


How can you debug a pig script?

1 Answers  


What Is Difference Between Mapreduce and Pig ?

1 Answers  


What are the primitive data types in Pig?

1 Answers  


Explain avrostorage function?

1 Answers  


Categories