[
https://issues.apache.org/jira/browse/FLINK-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
dalongliu updated FLINK-14055:
------------------------------
Release Note:
In 1.16, we introduced the `CREATE FUNCTION ... USING JAR` syntax to support
the dynamic loading of the UDF jar in per job, which is convenient for platform
developers to easily achieve UDF management. In addition, we also port the `ADD
JAR` syntax from SqlClient to `TableEnvironment` side, this allows the syntax
is more general to Table API users. However, due to inconsistent classloader in
StreamExecutionEnvironment and TableEnvironment, the `ADD JAR` syntax is not
available for Table API program currently, it will be resolved by
https://issues.apache.org/jira/browse/FLINK-29240.
More information about this feature could be found in
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/#create-function.
was:
In 1.16, we introduced the `CREATE FUNCTION ... USING JAR` syntax to support
the dynamic loading of the UDF jar in per job, which is convenient for platform
developers to easily achieve UDF management. In addition, we also port the `ADD
JAR` syntax from SqlClient to `TableEnvironment` side, this allows the syntax
is more general to Table API users. However, due to inconsistent classloader in
StreamExecutionEnvironment and TableEnvironment, the `ADD JAR` syntax is not
available for Table API program currently, it will be resolved by
https://issues.apache.org/jira/browse/FLINK-29240
More information about this feature could be found in
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/#create-function.
> Add advanced function DDL syntax "USING JAR"
> --------------------------------------------
>
> Key: FLINK-14055
> URL: https://issues.apache.org/jira/browse/FLINK-14055
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / API
> Reporter: BL
> Assignee: dalongliu
> Priority: Major
> Labels: auto-unassigned, sprint
> Fix For: 1.16.0
>
>
> As
> [FLIP-214|https://cwiki.apache.org/confluence/display/FLINK/FLIP-214+Support+Advanced+Function+DDL]
> propose, this ticket is to support dynamically loading functions from
> external source in function DDL with advanced syntax like:
>
> {code:java}
> CREATE [TEMPORARY|TEMPORARY SYSTEM] FUNCTION [IF NOT EXISTS]
> [catalog_name.db_name.]function_name AS class_name [LANGUAGE
> JAVA|SCALA|PYTHON] [USING JAR‘resource_path’ [, JAR ‘resource_path’]*]; {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)