We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc00e99 commit 3e4438dCopy full SHA for 3e4438d
sql/core/src/test/scala/org/apache/spark/sql/DatasetCacheSuite.scala
@@ -43,6 +43,8 @@ class DatasetCacheSuite extends QueryTest with SharedSQLContext {
43
// joined Dataset should not be persisted
44
val joined = ds1.joinWith(ds2, $"a.value" === $"b.value")
45
assert(joined.storageLevel == StorageLevel.NONE)
46
+ ds1.unpersist()
47
+ ds2.unpersist()
48
}
49
50
test("persist and unpersist") {
@@ -59,6 +61,7 @@ class DatasetCacheSuite extends QueryTest with SharedSQLContext {
59
61
// Drop the cache.
60
62
cached.unpersist()
63
assert(cached.storageLevel == StorageLevel.NONE, "The Dataset should not be cached.")
64
+ ds.unpersist()
65
66
67
test("persist and then rebind right encoder when join 2 datasets") {
0 commit comments