cloud-fan commented on code in PR #40394: URL: https://github.com/apache/spark/pull/40394#discussion_r1136440921
########## sql/hive/src/main/scala/org/apache/spark/sql/hive/hiveUDFs.scala: ########## @@ -235,6 +210,36 @@ private[hive] case class HiveGenericUDF( } } +class HiveGenericUDFEvaluator( + funcWrapper: HiveFunctionWrapper, children: Seq[Expression]) + extends HiveInspectors + with Serializable { + + @transient + private[hive] lazy val function = funcWrapper.createFunction[GenericUDF]() + + @transient + private[hive] lazy val argumentInspectors = children.map(toInspector) + + @transient + private[hive] lazy val returnInspector = { Review Comment: ```suggestion lazy val returnInspector = { ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org