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 77c9b89 commit 47c8d5dCopy full SHA for 47c8d5d
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUserDefinedTypeSuite.scala
@@ -68,6 +68,6 @@ class TestUDF extends GenericUDF {
68
69
override def evaluate(arguments: Array[GenericUDF.DeferredObject]): AnyRef = {
70
val point = data.getList(arguments(0).get())
71
- new java.lang.Double(point.get(0).asInstanceOf[Double])
+ java.lang.Double.valueOf(point.get(0).asInstanceOf[Double])
72
}
73
0 commit comments