Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove 's'
  • Loading branch information
MaxGekk committed Mar 10, 2021
commit fc4a76db4d3f4f2db20a2111ee31e9f0e3b50427
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ abstract class BinaryArithmetic extends BinaryOperator with NullIntolerant {
case DayTimeIntervalType | YearMonthIntervalType =>
assert(exactMathMethod.isDefined,
s"The expression '$nodeName' must override the exactMathMethod() method " +
s"if it is supposed to operate over interval types.")
"if it is supposed to operate over interval types.")
val mathClass = classOf[Math].getName
defineCodeGen(ctx, ev, (eval1, eval2) => s"$mathClass.${exactMathMethod.get}($eval1, $eval2)")
// byte and short are casted into int when add, minus, times or divide
Expand Down