Skip to content

Commit

Permalink
Merge pull request alteryx#14 from marmbrus/pr/3555
Browse files Browse the repository at this point in the history
Use createQueryTest
  • Loading branch information
YanTangZhai committed Dec 18, 2014
2 parents 950b21e + 59e4de9 commit 1893956
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 1893956

Please sign in to comment.