开发者社区> 问答> 正文

flink1.9.0对DDL的支持

请教一下, 1.flink1.9.0的table API/sql是不是还没有支持Create view? 2.BlinkPlanner和flink的planner有什么区别?*来自志愿者整理的flink邮件归档

展开
收起
毛毛虫雨 2021-12-08 11:04:55 412 0
1 条回答
写回答
取消 提交回答
  • 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.*来自志愿者整理的flink邮件归档

    2021-12-08 19:31:51
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Flink CDC Meetup PPT - 龚中强 立即下载
Flink CDC Meetup PPT - 王赫 立即下载
Flink CDC Meetup PPT - 覃立辉 立即下载