1.

What is the difference between cache and persist in Spark?

Answer»
Cache ()PERSIST ()
While using this, the DEFAULT STORAGE level is MEMORY_ONLY for RDD and MEMORY_AND_DISK for DATASET.While using this, the user can use various storage LEVELS for both RDD and Dataset.


Discussion

No Comment Found