Skip to content

Commit

Permalink
[HOTFIX][SQL] Unit test breaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jul 15, 2015
1 parent 1bb8acc commit 14935d8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class ExpressionTypeCheckingSuite extends SparkFunSuite {
}

test("check types for unary arithmetic") {
assertError(UnaryMinus('stringField), "operator - accepts numeric type")
assertError(Abs('stringField), "function abs accepts numeric type")
assertError(BitwiseNot('stringField), "operator ~ accepts integral type")
assertError(UnaryMinus('stringField), "expected to be of type numeric")
assertError(Abs('stringField), "expected to be of type numeric")
assertError(BitwiseNot('stringField), "type (boolean or tinyint or smallint or int or bigint)")
}

ignore("check types for binary arithmetic") {
Expand Down

0 comments on commit 14935d8

Please sign in to comment.