Skip to content

Commit a0182e5

Browse files
committed
fixed review comment
1 parent a18f917 commit a0182e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/hiveUdfs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private[hive] case class HiveGenericUdf(functionClassName: String, children: Seq
165165
isUDFDeterministic && returnInspector.isInstanceOf[ConstantObjectInspector]
166166

167167
@transient
168-
protected lazy val constantReturnValue = unwrap(
168+
protected def constantReturnValue = unwrap(
169169
returnInspector.asInstanceOf[ConstantObjectInspector].getWritableConstantValue(),
170170
returnInspector)
171171

0 commit comments

Comments
 (0)