rsist(StorageLevel.DISK_ONLY).
IMO If reads are expensive against the DB and your afraid of failure why not
just save the data as a parquet on your cluster in hive and read from there?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-DF-CacheTable
ble.com/Spark-DF-CacheTable-method-Will-it-save-data-to-disk-tp27533p27551.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org