[
https://issues.apache.org/jira/browse/FLINK-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377117#comment-17377117
]
XiaYu edited comment on FLINK-14055 at 7/8/21, 7:08 AM:
--------------------------------------------------------
[~ZhenqiuHuang]
ok,but how should we consider application mode? Code generation works in server
,util parsing catalog function,we do not know where is the resource file
stored,so we can't ship the udf resource to cluster in advance.
The document solution is add the interface `JobbGraph#addClasspath`, but if
this path is a remote path,can the userCodeClassLoader load class from remote?
was (Author: gelimusong):
[~ZhenqiuHuang]
ok,but how should we consider application mode? Code generation works in server
,util parsing catalog function,we do not know where is the resource file
stored,so we can't ship the udf resource to cluster in advance.
> Add advanced function DDL syntax "USING JAR/FILE/ACHIVE"
> --------------------------------------------------------
>
> Key: FLINK-14055
> URL: https://issues.apache.org/jira/browse/FLINK-14055
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Bowen Li
> Priority: Major
> Labels: auto-unassigned, sprint
>
> As FLINK-7151 adds basic function DDL to Flink, this ticket is to support
> dynamically loading functions from external source in function DDL with
> advanced syntax like
>
> {code:java}
> CREATE FUNCTION func_name as class_name USING JAR/FILE/ACHIEVE 'xxx' [,
> JAR/FILE/ACHIEVE 'yyy'] ;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)