Skip to content

Conversation

@wjur
Copy link
Contributor

@wjur wjur commented Feb 11, 2016

The docs say that the default storage level is MEMORY_ONLY,
but in fact it is MEMORY_AND_DISK. This commit fixes the
inconsistency between the code and the docs.

The docs say that the default storage level is MEMORY_ONLY,
but in fact it is MEMORY_AND_DISK. This commit fixes the
inconsistency between the code and the docs.
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@wjur
Copy link
Contributor Author

wjur commented Feb 12, 2016

@mateiz, I'm not sure who is responsible for the docs, but it seems that you are the last one who edited the affected lines. I would be grateful if you could take a look at the PR. The inconsistency was introduced by PR #2686 (if that matters).

@srowen
Copy link
Member

srowen commented Feb 12, 2016

I don't think that's correct:

  /** Persist this RDD with the default storage level (`MEMORY_ONLY`). */
  def persist(): this.type = persist(StorageLevel.MEMORY_ONLY)

  /** Persist this RDD with the default storage level (`MEMORY_ONLY`). */
  def cache(): this.type = persist()

@wjur
Copy link
Contributor Author

wjur commented Feb 12, 2016

That's confusing... @srowen, you're correct. RDDs are not DataFrames. I'm really sorry for taking your time.

@wjur wjur closed this Feb 12, 2016
@wjur wjur deleted the wjur/caching_default_level branch February 12, 2016 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants