@@ -266,14 +266,14 @@ class MathExpressionsSuite extends QueryTest {
266266 checkAnswer(
267267 df.select(
268268 shiftLeft(' a , 1 ), shiftLeft(' b , 1 ), shiftLeft(' c , 1 ), shiftLeft(' d , 1 ),
269- shiftLeft( ' e , null ), shiftLeft(' f , 1 )),
270- Row (42 .toLong, 42 , 42 .toShort, 42 .toByte, null , null ))
269+ shiftLeft(' f , 1 )),
270+ Row (42 .toLong, 42 , 42 .toShort, 42 .toByte, null ))
271271
272272 checkAnswer(
273273 df.selectExpr(
274274 " shiftLeft(a, 1)" , " shiftLeft(b, 1)" , " shiftLeft(b, 1)" , " shiftLeft(d, 1)" ,
275- " shiftLeft(e, null) " , " shiftLeft( f, 1)" ),
276- Row (42 .toLong, 42 , 42 .toShort, 42 .toByte, null , null ))
275+ " shiftLeft(f, 1)" ),
276+ Row (42 .toLong, 42 , 42 .toShort, 42 .toByte, null ))
277277 }
278278
279279 test(" shift right" ) {
@@ -283,14 +283,14 @@ class MathExpressionsSuite extends QueryTest {
283283 checkAnswer(
284284 df.select(
285285 shiftRight(' a , 1 ), shiftRight(' b , 1 ), shiftRight(' c , 1 ), shiftRight(' d , 1 ),
286- shiftRight(' e , null ), shiftRight( ' f , 1 )),
287- Row (21 .toLong, 21 , 21 .toShort, 21 .toByte, null , null ))
286+ shiftRight(' f , 1 )),
287+ Row (21 .toLong, 21 , 21 .toShort, 21 .toByte, null ))
288288
289289 checkAnswer(
290290 df.selectExpr(
291291 " shiftRight(a, 1)" , " shiftRight(b, 1)" , " shiftRight(c, 1)" , " shiftRight(d, 1)" ,
292- " shiftRight(e, null) " , " shiftRight( f, 1)" ),
293- Row (21 .toLong, 21 , 21 .toShort, 21 .toByte, null , null ))
292+ " shiftRight(f, 1)" ),
293+ Row (21 .toLong, 21 , 21 .toShort, 21 .toByte, null ))
294294 }
295295
296296 test(" binary log" ) {
0 commit comments