File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ class ExpressionEvaluationSuite extends FunSuite {
4646 checkEvaluation(BitwiseNot (1 ), - 2 )
4747 assert(BitwiseNot (1 ).dataType === IntegerType )
4848 assert(BitwiseNot (1 ).eval(EmptyRow ).isInstanceOf [Int ])
49- checkEvaluation(BitwiseNot (1 .toLong), - 2 )
49+ checkEvaluation(BitwiseNot (1 .toLong), - 2 .toLong )
5050 assert(BitwiseNot (1 .toLong).dataType === LongType )
5151 assert(BitwiseNot (1 .toLong).eval(EmptyRow ).isInstanceOf [Long ])
52- checkEvaluation(BitwiseNot (1 .toShort), - 2 )
52+ checkEvaluation(BitwiseNot (1 .toShort), - 2 .toShort )
5353 assert(BitwiseNot (1 .toShort).dataType === ShortType )
5454 assert(BitwiseNot (1 .toShort).eval(EmptyRow ).isInstanceOf [Short ])
55- checkEvaluation(BitwiseNot (1 .toByte), - 2 )
55+ checkEvaluation(BitwiseNot (1 .toByte), - 2 .toByte )
5656 assert(BitwiseNot (1 .toByte).dataType === ByteType )
5757 assert(BitwiseNot (1 .toByte).eval(EmptyRow ).isInstanceOf [Byte ])
5858 }
You can’t perform that action at this time.
0 commit comments