@@ -24,7 +24,9 @@ import org.apache.spark.sql.test.TestSQLContext
24
24
class CachedTableSuite extends QueryTest {
25
25
TestData // Load test tables.
26
26
27
- test(" read from cached table and uncache" ) {
27
+ // NOTE: ALL TESTS ARE IGNORED PENDING SPARK-2264
28
+
29
+ ignore(" read from cached table and uncache" ) {
28
30
TestSQLContext .cacheTable(" testData" )
29
31
30
32
checkAnswer(
@@ -51,20 +53,20 @@ class CachedTableSuite extends QueryTest {
51
53
}
52
54
}
53
55
54
- test (" correct error on uncache of non-cached table" ) {
56
+ ignore (" correct error on uncache of non-cached table" ) {
55
57
intercept[IllegalArgumentException ] {
56
58
TestSQLContext .uncacheTable(" testData" )
57
59
}
58
60
}
59
61
60
- test (" SELECT Star Cached Table" ) {
62
+ ignore (" SELECT Star Cached Table" ) {
61
63
TestSQLContext .sql(" SELECT * FROM testData" ).registerAsTable(" selectStar" )
62
64
TestSQLContext .cacheTable(" selectStar" )
63
65
TestSQLContext .sql(" SELECT * FROM selectStar WHERE key = 1" ).collect()
64
66
TestSQLContext .uncacheTable(" selectStar" )
65
67
}
66
68
67
- test (" Self-join cached" ) {
69
+ ignore (" Self-join cached" ) {
68
70
val unCachedAnswer =
69
71
TestSQLContext .sql(" SELECT * FROM testData a JOIN testData b ON a.key = b.key" ).collect()
70
72
TestSQLContext .cacheTable(" testData" )
@@ -74,7 +76,7 @@ class CachedTableSuite extends QueryTest {
74
76
TestSQLContext .uncacheTable(" testData" )
75
77
}
76
78
77
- test (" 'CACHE TABLE' and 'UNCACHE TABLE' SQL statement" ) {
79
+ ignore (" 'CACHE TABLE' and 'UNCACHE TABLE' SQL statement" ) {
78
80
TestSQLContext .sql(" CACHE TABLE testData" )
79
81
TestSQLContext .table(" testData" ).queryExecution.executedPlan match {
80
82
case _ : InMemoryColumnarTableScan => // Found evidence of caching
0 commit comments