We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6596392 commit c7aaa4bCopy full SHA for c7aaa4b
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala
@@ -111,7 +111,7 @@ abstract class Expression extends TreeNode[Expression] {
111
} else {
112
e1.dataType match {
113
case n: NumericType =>
114
- f.asInstanceOf[(Numeric[n.JvmType], n.JvmType, n.JvmType) => Int](
+ f.asInstanceOf[(Numeric[n.JvmType], n.JvmType, n.JvmType) => n.JvmType](
115
n.numeric, evalE1.asInstanceOf[n.JvmType], evalE2.asInstanceOf[n.JvmType])
116
case other => sys.error(s"Type $other does not support numeric operations")
117
}
0 commit comments