pan3793 commented on code in PR #59697:
URL: https://github.com/apache/spark/pull/59697#discussion_r4351123980


##########
docs/sql-ref-syntax-ddl-create-function.md:
##########
@@ -82,6 +82,8 @@ CREATE [ OR REPLACE ] [ TEMPORARY ] FUNCTION [ IF NOT EXISTS ]
     Specifies the name of the class that provides the implementation for 
function to be created.
     The implementing class should extend one of the base classes as follows:
 
+    * Should implement `UnboundFunction` in 
`org.apache.spark.sql.connector.catalog.functions`
+      package.

Review Comment:
   @sunchao Added a note to the CREATE FUNCTION reference in 09f1c7b0dea, with 
the `--jars` / `spark.jars` and `produceResult` alternatives. The public no-arg 
constructor requirement is now stated for all class kinds, since Hive UDFs and 
`UserDefinedAggregateFunction` need it too.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to