Skip to content

Conversation

@vinodkc
Copy link
Contributor

@vinodkc vinodkc commented Jul 29, 2017

What changes were proposed in this pull request?

While unpersisting a dataset, only unpersist and remove that datasets's plan from Cachemanager's cachedData.

How was this patch tested?

Added unit tests

while (it.hasNext) {
val cd = it.next()
if (cd.plan.find(_.sameResult(plan)).isDefined) {
if (plan.sameResult(cd.plan)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is by design. This is for avoiding to get the incorrect results. See the original PR: #17097

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gatorsmile Thanks for the update.
I'll close this PR

@SparkQA
Copy link

SparkQA commented Jul 29, 2017

Test build #80046 has finished for PR 18771 at commit 857b3dd.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vinodkc vinodkc closed this Jul 30, 2017
@vinodkc vinodkc deleted the br_SPARK-21478 branch May 25, 2021 07:59
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