jiayuasu commented on code in PR #2420:
URL: https://github.com/apache/sedona/pull/2420#discussion_r2452929647
##########
spark/common/src/main/scala/org/apache/sedona/sql/UDF/AbstractCatalog.scala:
##########
@@ -86,9 +87,20 @@ abstract class AbstractCatalog {
functionIdentifier,
expressionInfo,
functionBuilder)
+ FunctionRegistry.builtin.registerFunction(
+ functionIdentifier,
+ expressionInfo,
+ functionBuilder)
+ }
+ aggregateExpressions.foreach { f =>
+ sparkSession.udf.register(f.getClass.getSimpleName, functions.udaf(f))
+ FunctionRegistry.builtin.registerFunction(
Review Comment:
@haizhou-zhao pleas feel free to create a github issue on Sedona and we can
then track it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]