Hello Dawid, Thanks for initiating this! The FLIP looks well-written. The WITH clause brings consistency to existing syntax.
+1 for this proposal. On Mon, Jul 28, 2025 at 3:33 PM Dawid Wysakowicz <dwysakow...@apache.org> 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 >