Hi,

> 在 2020年6月23日,10:49,Weixubin <[email protected]> 写道:
> 
> //这个时候我希望能够创建一张临时中间表  tempTable用来存放 对Source表中数据拆分为多列后的结果,类似于下面这样(Flink 
> 并不支持这么做)


看着描述应该是源数据中的一行拆成多行。这个需求是不是用 VIEW 就可以了[1]?Flink SQL 支持 VIEW 语法的[1]。

Best,
Leonard Xu 

[1] 
https://ci.apache.org/projects/flink/flink-docs-master/zh/dev/table/sql/create.html#create-view
 
<https://ci.apache.org/projects/flink/flink-docs-master/zh/dev/table/sql/create.html#create-view>

回复