[ 
https://issues.apache.org/jira/browse/FLINK-20260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237977#comment-17237977
 ] 

Jark Wu edited comment on FLINK-20260 at 11/24/20, 9:11 AM:
------------------------------------------------------------

Yes. I agree predefining some meta information is useful. I also prefer 
starting sql client with an initialization SQL file. Hive also have this 
feature "{{hive -i init.sql}}": 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli

If we have agreement on this, I can create a new issue for this. 


was (Author: jark):
Yes. I agree predefining some meta information is useful. I also prefer 
starting sql client with an initialization SQL file. Hive also have this 
feature {{hive -i init.sql}}: 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli

If we have agreement on this, I can create a new issue for this. 

> 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)

Reply via email to