EPISODE · Jan 11, 2023 · 5 MIN
💥 Spark DataFrame Cache
from Programmers · host Software Engineering
In Apache Spark, you can cache a DataFrame in memory using the cache() or persist() method. The cache() method is a shorthand for persist() with the default storage level of MEMORY_ONLY. You can use the persist() method to specify a different storage level if desired, such as MEMORY_AND_DISK or MEMORY_ONLY_SER.
NOW PLAYING
💥 Spark DataFrame Cache
No transcript for this episode yet
Similar Episodes
May 12, 2026 ·48m
May 9, 2026 ·47m
May 6, 2026 ·36m
Apr 29, 2026 ·14m
Apr 21, 2026 ·57m