Skip to content

Commit

Permalink
make hive test
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Dec 17, 2014
1 parent 950b21e commit 59e4de9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter {
Locale.setDefault(originalLocale)
}

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(
lower("AA"), "10",
Expand Down

0 comments on commit 59e4de9

Please sign in to comment.