Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scala> import org.apache.spark.storage.StorageLevel
- scala> file.persist(StorageLevel.MEMORY_ONLY_SER)
- scala> file.count()
- scala> file.count()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement