Ngone51 commented on a change in pull request #27937:
URL: https://github.com/apache/spark/pull/27937#discussion_r421201672
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala
##########
@@ -93,7 +93,7 @@ sealed abstract class UserDefinedFunction {
private[spark] case class SparkUserDefinedFunction(
f: AnyRef,
dataType: DataType,
- inputSchemas: Seq[Option[ScalaReflection.Schema]],
Review comment:
Hi @koertkuipers , the example seems use `UserDefinedFunction` instead
of `SparkUserDefinedFunction`. And since Spark v3.0, `UserDefinedFunction` has
been changed from case class to abstract class, see
[SPARK-26216](https://issues.apache.org/jira/browse/SPARK-26216).
cc @cloud-fan
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]