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 is a map in pig?



What is a map in pig?..

Answer / Ruchit Kumar Sajjan

"Map" in Apache Pig is a collection that stores key-value pairs. It's useful for representing data as a dictionary, where each key corresponds to a specific value.nnExample usage:n`data = FOREACH input_data GENERATE col1 AS key, col2 AS value; maps = FOREACH data GENERATE tomap(key, value);`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

What relational operators can we use that are related to combining and splitting in Pig language?

1 Answers  


what is difference between pig and sql?

1 Answers  


What are the data types of Pig Latin?

1 Answers  


What are the differences between PIG and HIVE?

1 Answers  


Explain about the bloommapfile?

1 Answers  


What is Pig Statistics? What are all stats classes in the Java API package available?

1 Answers  


What is the MapReduce plan in pig architecture?

1 Answers  


Compare apache pig and sql?

1 Answers  


State the usage of 'filters', 'group' , 'orderBy', 'distinct' keywords in pig scripts?

1 Answers  


Pig Features ?

1 Answers  


List the diagnostic operators in pig.

1 Answers  


What are Pig Execution modes?

1 Answers  


Categories