Skip to content

Commit

Permalink
The UT test of spark is failed.
Browse files Browse the repository at this point in the history
Because there is a test in SQLQuerySuite about creating table “test”
  • Loading branch information
KaiXinXiaoLei committed Mar 24, 2015
1 parent bfd3ee9 commit 7534b02
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ class CachedTableSuite extends QueryTest {
}

test("Drop cached table") {
sql("CREATE TABLE test(a INT)")
cacheTable("test")
sql("SELECT * FROM test").collect()
sql("DROP TABLE test")
sql("CREATE TABLE cachedTableTest(a INT)")
cacheTable("cachedTableTest")
sql("SELECT * FROM cachedTableTest").collect()
sql("DROP TABLE cachedTableTest")
intercept[AnalysisException] {
sql("SELECT * FROM test").collect()
sql("SELECT * FROM cachedTableTest").collect()
}
}

Expand Down

0 comments on commit 7534b02

Please sign in to comment.