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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of UNION and SPLIT operators? Give examples?

578