flink-user-zh mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wesley Peng <wesley.pe...@googlemail.com>
Subject Re: flink1.9.0对DDL的支持
Date Thu, 05 Sep 2019 03:52:06 GMT
Hi

on 2019/9/5 11:23, pengchenglin@bonc.com.cn wrote:
> 请教一下, 1.flink1.9.0的table API/sql是不是还没有支持Create view?

from the official documentation of flink 1.9:

Views can also be created within a CLI session using the CREATE VIEW 
statement:

CREATE VIEW MyNewView AS SELECT MyField2 FROM MyTableSource;

Views created within a CLI session can also be removed again using the 
DROP VIEW statement:

DROP VIEW MyNewView;

Attention The definition of views in the CLI is limited to the mentioned 
syntax above. Defining a schema for views or escaping whitespaces in 
table names will be supported in future versions.

So create view is supported but has the limits.

regards.

Mime
View raw message