Description
RDD caching is used for performance reasons in some multi-insert queries. Currently, we call RDD.cache(), which indicates a persistency policy of using memory only. We should choose a better policy. I think memory+disk will be good enough. Refer to RDD.persist() for more information.