[
https://issues.apache.org/jira/browse/FLINK-20320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-20320.
------------------------------------
Release Note: The `sql-client-defaults.yaml` YAML file is deprecated and
not provided in the release package. To be compatible, it's still supported to
initialize the SQL Client with the YAML file if manually provided. But it's
recommend to use the new introduced `-i` startup option to execute an
initialization SQL file to setup the SQL Client session. The so-called
initialization SQL file can use Flink DDLs to define available catalogs, table
sources and sinks, user-defined functions, and other properties required for
execution and deployment. The support of legacy SQL Client YAML file will be
totally dropped in Flink 1.14.
Resolution: Fixed
> Support start SQL Client with an initialization SQL file
> --------------------------------------------------------
>
> Key: FLINK-20320
> URL: https://issues.apache.org/jira/browse/FLINK-20320
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Client
> Reporter: Jark Wu
> Assignee: Shengkai Fang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> As discussed in FLINK-20260, it would be helpful to predefine some meta
> information when starting SQL CLI. This can be a replacement of YAML file
> which defines meta informations.
> Hive supports start with an initialization SQL file "hive -i init.sql":
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli
> I think we can also support that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)