[
https://issues.apache.org/jira/browse/FLINK-27010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516260#comment-17516260
]
LuNng Wang edited comment on FLINK-27010 at 4/2/22 9:39 AM:
------------------------------------------------------------
[~ZhangChaoming] There is two scenarios:
1) Users '-i' or '-l' options are stable, they don't want to set them every
time.
2) Some users enclosure SQL Client to a SQL Gatawey server. If the Flink has
these options, the SQL Gatawey server doesn't need to define new options. They
just use the Flink native options.
You can check out the apache Kyuubi issue
[https://github.com/apache/incubator-kyuubi/issues/2153]
was (Author: ana4):
[~ZhangChaoming] There is two scenarios:
1) Users '-i' or '-l' options are stable, they don't want to set them every
time.
2) Some users enclosure SQL Client to a SQL Gatawey server. If the Flink has
these options, the SQL Gatawey server doesn't need to define new options. They
just use the Flink native options.
You can check out the apache Kyuubi issue
https://github.com/apache/incubator-kyuubi/issues/2153
> Support setting sql client args via flink conf
> ----------------------------------------------
>
> Key: FLINK-27010
> URL: https://issues.apache.org/jira/browse/FLINK-27010
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Affects Versions: 1.14.4
> Reporter: LuNng Wang
> Priority: Major
>
> '-i' '-j' and '-l' only be set in startup options.
> I want to add the following options in flink-conf.yaml to set SQL Client
> options.
> {code:java}
> sql-client.execution.init-file: /foo/foo.sql
> sql-client.execution.jar: foo.jar
> sql-client.execution.library: /foo{code}
> When startup options are set, the Flink default conf in yaml will be
> overridden.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)