Hi Dawid,
thanks for proposing this FLIP. Overall it fits into existing concepts
and completes the syntax.
+1 for this
Cheers,
Timo
On 28.07.25 15:31, Dawid Wysakowicz wrote:
Hi,
I'd like to start a discussion of FLIP-539: Support WITH Clause in CREATE
FUNCTION Statement in Flink SQL [1].
The existing CREATE FUNCTION statement in Flink SQL allows users to
register user-defined functions (UDFs) by specifying the class name and the
artifact (JAR) containing the implementation. While this design covers
common use cases, it lacks a declarative mechanism for associating
arbitrary properties or metadata with the function at creation time.
Other Flink SQL objects—such as tables—support a WITH clause for
specifying options in a key-value fashion, improving consistency,
discoverability, and extensibility.
Looking forward to comments and suggestions for improvements!
Best,
Dawid
[1] https://cwiki.apache.org/confluence/x/sg9JFg