[ https://issues.apache.org/jira/browse/FLINK-31259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694821#comment-17694821 ]
Shammon commented on FLINK-31259: --------------------------------- Hi [~jark] We'd like to initialize catalogs in session when it is created in gateway, for example, create mysql and hive catalog. Currently, business users can initialize them by an initialization file in sql client. There may be some sensitive data in the catalog script, such as username/password/hive uri which we don't want to show to them. So we want to add this ability to sql gateway too. When we start gateway with an initialization file, it will create catalogs from the file for each new session. Users can perform query on them directly and cannot drop these catalogs. What do you think? > Gateway supports initialization of catalog at startup > ----------------------------------------------------- > > Key: FLINK-31259 > URL: https://issues.apache.org/jira/browse/FLINK-31259 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Gateway > Affects Versions: 1.18.0 > Reporter: Shammon > Assignee: Shammon > Priority: Major > > Support to initializing catalogs in gateway when it starts -- This message was sent by Atlassian Jira (v8.20.10#820010)