Skip to content

Commit

Permalink
Update HiveQuerySuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
YanTangZhai committed Dec 22, 2014
1 parent 1893956 commit bd2c444
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,6 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter {
createQueryTest("select null from table",
"SELECT null FROM src LIMIT 1")

test("! boolean logic operator") {
sql(
"""
|SELECT a FROM (
| SELECT 1 AS a FROM src LIMIT 1 UNION ALL
| SELECT 2 AS a FROM src LIMIT 1) table
|WHERE !(a>1)
""".stripMargin).collect()
}

test("implement identity function using case statement") {
val actual = sql("SELECT (CASE key WHEN key THEN key END) FROM src")
.map { case Row(i: Int) => i }
Expand Down

0 comments on commit bd2c444

Please sign in to comment.