flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liu (Jira)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-22540) Remove YAML environment file support in SQL Client
Date Tue, 18 May 2021 09:50:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-22540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346753#comment-17346753

liu commented on FLINK-22540:

Hi,[~jark], I understand about "make the construtor arguments to be parameters of the {{eval}} function",
but I do not understand about "do some initialization when first processing eval method".
In sql-client, create a function  by  "create function  udf_func as  'com.flink.myudf'
" ,then  use the udf_func by "select udf_func(name) from table1".Suppose I want to define
a UDF and add a prefix to the input。 Can you  write a example about how to initial the
prefix in sql-client ? Thank you very much.

> 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

View raw message