Skip to content

Commit e6abd22

Browse files
committed
Simplify template
1 parent ce39905 commit e6abd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/nullExpressions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ case class IsNotNull(child: Expression) extends UnaryExpression with Predicate {
349349
val value = eval.isNull match {
350350
case TrueLiteral => FalseLiteral
351351
case FalseLiteral => TrueLiteral
352-
case v => JavaCode.isNullExpression(s"!($v)")
352+
case v => JavaCode.isNullExpression(s"!$v")
353353
}
354354
ExprCode(code = eval.code, isNull = FalseLiteral, value = value)
355355
}

0 commit comments

Comments
 (0)