Hey everyone,

I would like to kick off a discussion on FLIP-559: Add ARTIFACT keyword option 
in CREATE FUNCTION's USING clause [1].

The current syntax for registering a user-defined function that depends on a 
binary artifact requires using the JAR keyword within the CREATE FUNCTION’s 
USING clause. As Flink's ecosystem evolves, particularly with improved Python 
support (e.g., Python UDFs depending on wheel files or other archives), the JAR 
 keyword becomes semantically incorrect and restrictive. We would like to add a 
more generic way to specify a dependency artifact by adding an ARTIFACT keyword 
that functions the same as JAR, but feels more format agnostic to the user.

For more details, please refer to the FLIP [1]. There was also a previous 
pre-FLIP discussion thread [2].

Would love any feedback and thoughts the community might have on this!

Kind regards,
Mika Naylor

[1] 
https://cwiki.apache.org/confluence/display/FLINK/FLIP-559%3A+Add+ARTIFACT+keyword+option+in+CREATE+FUNCTION%27s+USING+clause
[2] https://lists.apache.org/thread/3hthbgrho598pr7ycsoygk8mqv84cmzt


Reply via email to