cloud-fan commented on a change in pull request #32587:
URL: https://github.com/apache/spark/pull/32587#discussion_r638526447
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala
##########
@@ -195,7 +195,7 @@ class UDFRegistration private[sql] (functionRegistry:
FunctionRegistry) extends
throw new AnalysisException("Invalid number of arguments for function "
+ name +
". Expected: 0; Found: " + e.length)
}
- functionRegistry.createOrReplaceTempFunction(name, builder)
+ functionRegistry.createOrReplaceTempFunction(name, builder, "scala_udf")
Review comment:
above this method, there is a big chunk of comments showing how these
methods are generated. Let's update them as well.
--
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]