Skip to content
Snippets Groups Projects
Commit 14935d84 authored by Reynold Xin's avatar Reynold Xin
Browse files

[HOTFIX][SQL] Unit test breaking.

parent 1bb8accb
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment