Skip to content

Commit 8591417

Browse files
committed
fix ut failures
1 parent fad75fa commit 8591417

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ case class BitwiseAnd(left: Expression, right: Expression) extends BinaryArithme
5151
}
5252

5353
protected override def nullSafeEval(input1: Any, input2: Any): Any = and(input1, input2)
54+
55+
override def checkOverflowCode(result: String, op1: String, op2: String): String = ""
5456
}
5557

5658
/**
@@ -83,6 +85,8 @@ case class BitwiseOr(left: Expression, right: Expression) extends BinaryArithmet
8385
}
8486

8587
protected override def nullSafeEval(input1: Any, input2: Any): Any = or(input1, input2)
88+
89+
override def checkOverflowCode(result: String, op1: String, op2: String): String = ""
8690
}
8791

8892
/**
@@ -115,6 +119,8 @@ case class BitwiseXor(left: Expression, right: Expression) extends BinaryArithme
115119
}
116120

117121
protected override def nullSafeEval(input1: Any, input2: Any): Any = xor(input1, input2)
122+
123+
override def checkOverflowCode(result: String, op1: String, op2: String): String = ""
118124
}
119125

120126
/**

0 commit comments

Comments
 (0)