hvanhovell commented on code in PR #40729: URL: https://github.com/apache/spark/pull/40729#discussion_r1165781914
########## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala: ########## @@ -133,6 +120,40 @@ case class ScalarUserDefinedFunction( override def asNondeterministic(): ScalarUserDefinedFunction = copy(deterministic = false) } +/** + * A special variant of [[ScalarUserDefinedFunction]] for functions that only has one input. + */ +private[sql] case class SingleInputUserDefinedFunction[V, K]( Review Comment: Why we need this? It seems a bit overkill just to deal with a single input column. -- 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