Apache Spark Pertanyaan dan Jawaban Wawancara
Question: How can you persist an RDD in Apache Spark? Provide an example.Answer: You can persist an RDD using the persist() or cache() method. It allows you to store the RDD's data in memory or on disk for faster access.Example:
|
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.