Skip to content

Commit

Permalink
[SPARK-20683] Revert recursive uncaching (apache#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed May 19, 2017
1 parent a305676 commit c458265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -120,7 +120,7 @@ class CacheManager extends Logging {
val it = cachedData.iterator()
while (it.hasNext) {
val cd = it.next()
if (cd.plan.find(_.sameResult(plan)).isDefined) {
if (cd.plan.sameResult(plan)) {
cd.cachedRepresentation.cachedColumnBuffers.unpersist(blocking)
it.remove()
}
Expand Down
Expand Up @@ -643,7 +643,7 @@ class CachedTableSuite extends QueryTest with SQLTestUtils with SharedSQLContext
}
}

test("SPARK-19765: UNCACHE TABLE should un-cache all cached plans that refer to this table") {
ignore("SPARK-19765: UNCACHE TABLE should un-cache all cached plans that refer to this table") {
withTable("t") {
withTempPath { path =>
Seq(1 -> "a").toDF("i", "j").write.parquet(path.getCanonicalPath)
Expand Down

0 comments on commit c458265

Please sign in to comment.