You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/11/11 11:41:00 UTC
[jira] [Commented] (FLINK-29986) How to persist flink catalogs configuration?
[ https://issues.apache.org/jira/browse/FLINK-29986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632269#comment-17632269 ]
luoyuxia commented on FLINK-29986:
----------------------------------
The short answer is no.
But as a work around, you can prepare a file which contains the catalogs you need to init the session, and then use `./bin/sql-client.sh -i` to init the session with the scrip file. Refer the doc [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/#starting-the-sql-client-cli] for more details.
> How to persist flink catalogs configuration?
> --------------------------------------------
>
> Key: FLINK-29986
> URL: https://issues.apache.org/jira/browse/FLINK-29986
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Affects Versions: 1.16.0
> Environment: Cent OS
> Flink 1.16
> Hive 3.1.3
> Hadoop 3.3.4
> Reporter: Alvin Ge
> Priority: Major
>
> Hello every one.
>
> When I closed sql terminal(./sql-client.sh), The Catalogs I created are all gone when I open sql terminal(./sql-client.sh) next time.
> Do I have some other way to persist these catalogs?
>
> Thanks.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)