JerryLead / SparkInternals

Notes talking about the design and implementation of Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于cache()的疑问

leo-987 opened this issue · comments

commented

概览里的example,第五步,调用cache已经将数据缓存了,为何第六步,调用count还是为了缓存呢?

commented

我知道了,调用cache并不是实际缓存数据,只有action之后数据才会被缓存起来。