Skip to main content
2 of 3
edited tags
Dawny33
  • 8.4k
  • 12
  • 49
  • 106

when does cache get expired for a RDD in pyspark?

We use .cache() on RDD for persistent caching of an dataset, My concern is when this cached will be expired?.

dt = sc.parallelize([2, 3, 4, 5, 6])
dt.cache()
krishna Prasad
  • 1.1k
  • 1
  • 14
  • 23