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 ways in which one can know that the given operation is transformation or action?



What are the ways in which one can know that the given operation is transformation or action?..

Answer / Khalid Khan

In Spark, transformations like map(), filter(), and groupBy() return new RDDs but do not execute immediately. Actions like count(), collect(), and saveAsTextFile() actually trigger the computation and return a value. The difference can be recognized by checking if the operation returns a new RDD or has an explicit collect() or action method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

What is the difference between hadoop and spark?

1 Answers  


Can copper cause a spark?

1 Answers  


What is difference between hive and spark?

1 Answers  


What is spark driver application?

1 Answers  


What is spark in big data?

1 Answers  


What are the ways in which Apache Spark handles accumulated Metadata?

1 Answers  


What do you understand by Pair RDD?

1 Answers  


What is executor memory in a spark application?

1 Answers  


Can you explain worker node?

1 Answers  


What are the common mistakes developers make when running Spark applications?

1 Answers  


Define the roles of the file system in any framework?

1 Answers  


Is spark written in scala?

1 Answers  


Categories