wuchong commented on code in PR #20176:
URL: https://github.com/apache/flink/pull/20176#discussion_r964657510
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java:
##########
@@ -516,13 +518,51 @@ void createFunction(
boolean ignoreIfExists);
/**
- * Drops a catalog function registered in the given path.
+ * Registers a {@link UserDefinedFunction} class as a catalog function in
the given path by the
+ * specific class name and user defined resource uri.
*
- * @param path The path under which the function has been registered. See
also the {@link
+ * <p>Compared to {@link #createFunction(String, Class)}, this method
allow registering a user
+ * defined function by only provide a full path class name and and
available resource list in
+ * which each url may be local or remote. User doesn't need to initialize
the function instance
Review Comment:
How about explaining the meaning of "resource"?
```suggestion
* <p>Compared to {@link #createFunction(String, Class)}, this method
allows registering a user
* defined function by only providing a full path class name and a list
of resources that contain the
* implementation of the function along with its dependencies. Users
don't need to initialize the
* function instance in advance. The resource file can be a local or
remote JAR file.
```
--
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]