slinkydeveloper commented on a change in pull request #18352:
URL: https://github.com/apache/flink/pull/18352#discussion_r784660032



##########
File path: docs/content/docs/dev/table/functions/udfs.md
##########
@@ -240,7 +240,9 @@ An implementation class must extend from one of the 
available base classes (e.g.
 
 The class must be declared `public`, not `abstract`, and should be globally 
accessible. Thus, non-static inner or anonymous classes are not allowed.
 
-For storing a user-defined function in a persistent catalog, the class must 
have a default constructor and must be instantiable during runtime.
+For storing a user-defined function in a persistent catalog, the class must 
have a default constructor
+and must be instantiable during runtime. Anonymous functions in Table API can 
only be persisted if the
+function is not stateful (i.e. no non-transient fields).

Review comment:
       and non static.




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to