[ https://issues.apache.org/jira/browse/FLINK-24939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450421#comment-17450421 ]
Jark Wu commented on FLINK-24939: --------------------------------- [~shenzhu0127], no, I don't think they should be stored in {{Catalog}}. A catalog is an instance which is created from the properties, just like `DynamicTableSource/Sink` is created from the {{CatalogTable}}. {{SHOW CREATE TABLE}} get the properties from {{CatalogTable}} instead of adding {{getProperties}} method to {{DynamicTableSource/Sink}}. If we need to support this {{SHOW CREATE CATALOG}}, I think a better idea is convert the CREATE CATALOG DDL into a structure (just like CatalogTable) and save it in {{CatalogManager}}. {{SHOW CREATE CATALOG}} should look for the structure and build the DDL string. > Support 'SHOW CREATE CATALOG' syntax > ------------------------------------ > > Key: FLINK-24939 > URL: https://issues.apache.org/jira/browse/FLINK-24939 > Project: Flink > Issue Type: Improvement > Components: Table SQL / API > Affects Versions: 1.14.0 > Reporter: Yubin Li > Priority: Major > > SHOW CREATE CATALOG <catalog_name>; > > `Catalog` is playing a more import role in flink, it would be great to get > existing catalog detail information -- This message was sent by Atlassian Jira (v8.20.1#820001)