
Ultimate access to all questions.
Which of the following code blocks attempts to cache only the partitions of DataFrame storesDF in Spark's memory?
A
storesDF.cache(StorageLevel.MEMORY_ONLY).count()_
B
storesDF.persist().count()
C
storesDF.cache().count()
D
storesDF.persist(StorageLevel.MEMORY_ONLY).count()_
E
storesDF.persist("MEMORY_ONLY").count()_