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...


Explain the operation reduce() in Spark?



Explain the operation reduce() in Spark?..

Answer / Punit Sirotiya

The reduce() operation in Apache Spark is a transformation function that reduces DataFrame or RDD elements to a single value using an associative and commutative binary function. For example, if the function is addition, reduce() will sum all elements in a collection. The reduction is done by combining pairs of elements recursively.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

List the advantage of Parquet files?

1 Answers  


Explain write ahead log(journaling) in spark?

1 Answers  


Is there any benefit of learning mapreduce if spark is better than mapreduce?

1 Answers  


List down the languages supported by Apache Spark?

1 Answers  


What are the roles of the file system in any framework?

1 Answers  


What is the difference between client mode and cluster mode in spark?

1 Answers  


What is the difference between persist() and cache()?

1 Answers  


What is spark parallelize?

1 Answers  


What is big data spark?

1 Answers  


What is the difference between scala and spark?

1 Answers  


Does spark require hadoop?

1 Answers  


What is spark certification?

1 Answers  


Categories