Skip to content

Commit

Permalink
remove duplicate test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoPhilipse committed Jun 10, 2020
1 parent 93b1f63 commit c4f9a62
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,6 @@ class HiveQuerySuite extends HiveComparisonTest with SQLTestUtils with BeforeAnd
assert(1200 == res.getInt(0))
}

createQueryTest("timestamp cast #4",
"SELECT CAST(CAST(1.2 AS TIMESTAMP) AS DOUBLE) FROM src LIMIT 1")

test("timestamp cast #5") {
val res = sql("SELECT CAST(CAST(-1 AS TIMESTAMP) AS DOUBLE) FROM src LIMIT 1").collect().head
assert(-1 == res.get(0))
Expand All @@ -580,9 +577,6 @@ class HiveQuerySuite extends HiveComparisonTest with SQLTestUtils with BeforeAnd
assert(-1200 == res.getInt(0))
}

createQueryTest("timestamp cast #8",
"SELECT CAST(CAST(-1.2 AS TIMESTAMP) AS DOUBLE) FROM src LIMIT 1")

createQueryTest("select null from table",
"SELECT null FROM src LIMIT 1")

Expand Down

0 comments on commit c4f9a62

Please sign in to comment.