[ https://issues.apache.org/jira/browse/FLINK-20260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237846#comment-17237846 ]
Nicholas Jiang commented on FLINK-20260: ---------------------------------------- [~airblader], IMO, currently in sql-client-default.yaml, it supports the e.g. DynamicTableSourceFactory interface. The YAML configuration is as follows: {code:java} # Define tables here such as sources, sinks, views, or temporal tables. tables: [] # empty list # A typical table source definition looks like: # - name: ... # type: source-table # connector: ... # format: ... # schema: ... {code} cc [~jark] > YAML for SQL client only supports legacy interfaces > --------------------------------------------------- > > Key: FLINK-20260 > URL: https://issues.apache.org/jira/browse/FLINK-20260 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Client > Affects Versions: 1.11.2 > Reporter: Ingo Bürk > Priority: Major > > In the YAML configuration for the SQL client users can define tables. > However, when this YAML is parsed, only the legacy interfaces > (TableSourceFactory) is supported, and using connectors implementing e.g. > DynamicTableSourceFactory will instead result in an error on startup of the > client. > If defining tables in the YAML is to be continued to be supported, it should > also be made to support the newer interfaces (or clearly documented that this > is not the case). -- This message was sent by Atlassian Jira (v8.3.4#803005)