Cache Vs Persist in Spark with Scala - Part 1 | Spark Interview Questions

preview_player
Показать описание
Hi Friends,
In today's video, I have explained the differences between Cache and Persist methods and also how to use them on both RDD and DF.

Please subscribe to my channel and click on bell icon for latest videos.
Рекомендации по теме
Комментарии
Автор

Very well explained with the help of example . Thankyou.

ShubhamRai
Автор

Thanks for the explanation. When you cache the dataframe or Rdd the data is deserialized but for persist the data is serialized. What is the use of serializing the data here? Will it be useful?

venkatasai