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 31, 2014
1 parent 7c03c68 commit 1a9f605
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter {
sql("SHOW TABLES")
}
}

createQueryTest("! operator",
"""
|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)

createQueryTest("constant object inspector for generic udf",
"""SELECT named_struct(
Expand Down

0 comments on commit 1a9f605

Please sign in to comment.