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 aggregatebykey spark?



What is aggregatebykey spark?..

Answer / Shadab Faisal

"AggregateByKey is a Spark function that allows you to perform a custom aggregation operation on each key of an RDD, combining values for the same key. It returns a new RDD with the result of the aggregation. For example, you can use AggregateByKey to count the occurrences of each word in a text file like so: `textRDD.flatMapValues(_.split(" ")).aggregateByKey(0)(_+1, _+_)`"n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

What is the use of map transformation?

1 Answers  


What are the ways to run spark over hadoop?

1 Answers  


Explain join() operation in Apache Spark?

1 Answers  


What is driver and executor in spark?

1 Answers  


What are the disadvantages of using Spark?

1 Answers  


Is rdd type safe?

1 Answers  


Does spark sql use hive?

1 Answers  


Why spark is faster than hive?

1 Answers  


Explain distnct(),union(),intersection() and substract() transformation in Spark?

1 Answers  


What are the great features of spark sql?

1 Answers  


Can spark be used without hadoop?

1 Answers  


How can you trigger automatic clean-ups in Spark to handle accumulated metadata?

1 Answers  


Categories