[
https://issues.apache.org/jira/browse/FLINK-22540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346776#comment-17346776
]
Jark Wu commented on FLINK-22540:
---------------------------------
[~fate] For example, you can define the udf like following:
{code:java}
public String eval(String prefix, String input) {
return prefix + input;
}
{code}
And use the udf {{select udf_func('prefix-', name) from t1}}.
> Remove YAML environment file support in SQL Client
> --------------------------------------------------
>
> Key: FLINK-22540
> URL: https://issues.apache.org/jira/browse/FLINK-22540
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Client
> Reporter: Jark Wu
> Assignee: Shengkai Fang
> Priority: Critical
> Fix For: 1.14.0
>
>
> As discussed in
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-163%3A+SQL+Client+Improvements,
>
> YAML environment file is deprecated in 1.13 version and should be removed in
> 1.14 version. Users are recommended to use SQL script to initialize session.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)