Skip to content

Commit

Permalink
Add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Jun 5, 2015
1 parent 7ced9b0 commit c3e472a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,10 @@ class SQLQuerySuite extends QueryTest {
}
}

test("Cast STRING to BIGINT") {
checkAnswer(sql("SELECT CAST('775983671874188101' as BIGINT)"), Row(775983671874188101L))
}

// `Math.exp(1.0)` has different result for different jdk version, so not use createQueryTest
test("udf_java_method") {
checkAnswer(sql(
Expand Down

0 comments on commit c3e472a

Please sign in to comment.