diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-06-24 15:09:30 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-06-24 15:09:38 -0700 |
commit | 221909e678bb60e5a3746e64a718600841c5f74f (patch) | |
tree | a8ab4be1097407261a70bd86b6664b7f0c97bdbf /sql | |
parent | 924b7082b17b379e4b932a3afee88f94a632d14d (diff) | |
download | spark-221909e678bb60e5a3746e64a718600841c5f74f.tar.gz spark-221909e678bb60e5a3746e64a718600841c5f74f.tar.bz2 spark-221909e678bb60e5a3746e64a718600841c5f74f.zip |
HOTFIX: Disabling tests per SPARK-2264
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala index c794da4da4..128ddae11e 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala @@ -24,7 +24,9 @@ import org.apache.spark.sql.test.TestSQLContext class CachedTableSuite extends QueryTest { TestData // Load test tables. - test("read from cached table and uncache") { + // NOTE: ALL TESTS ARE IGNORED PENDING SPARK-2264 + + ignore("read from cached table and uncache") { TestSQLContext.cacheTable("testData") checkAnswer( @@ -51,20 +53,20 @@ class CachedTableSuite extends QueryTest { } } - test("correct error on uncache of non-cached table") { + ignore("correct error on uncache of non-cached table") { intercept[IllegalArgumentException] { TestSQLContext.uncacheTable("testData") } } - test("SELECT Star Cached Table") { + ignore("SELECT Star Cached Table") { TestSQLContext.sql("SELECT * FROM testData").registerAsTable("selectStar") TestSQLContext.cacheTable("selectStar") TestSQLContext.sql("SELECT * FROM selectStar WHERE key = 1").collect() TestSQLContext.uncacheTable("selectStar") } - test("Self-join cached") { + ignore("Self-join cached") { val unCachedAnswer = TestSQLContext.sql("SELECT * FROM testData a JOIN testData b ON a.key = b.key").collect() TestSQLContext.cacheTable("testData") @@ -74,7 +76,7 @@ class CachedTableSuite extends QueryTest { TestSQLContext.uncacheTable("testData") } - test("'CACHE TABLE' and 'UNCACHE TABLE' SQL statement") { + ignore("'CACHE TABLE' and 'UNCACHE TABLE' SQL statement") { TestSQLContext.sql("CACHE TABLE testData") TestSQLContext.table("testData").queryExecution.executedPlan match { case _: InMemoryColumnarTableScan => // Found evidence of caching |