Hi,
   经过尝试,select时候调用PROCTIME()函数生成proctime字段是可行的,谢谢。
________________________________
发件人: 111 <xingh...@163.com>
发送时间: 2020年5月18日 16:07
收件人: user-zh@flink.apache.org <user-zh@flink.apache.org>
主题: 回复: flink sql使用维表关联时报Temporal table join currently only supports 'FOR 
SYSTEM_TIME AS OF' left table's proctime field, doesn't support 'PROCTIME()'

Hi,


试验了下,proctime不能在建表时创建。需要在select的时候基于PROCTIME()函数生成。


比如:
Select …., PROCTIME() AS proctime from xxx;
Select * from xxx t1 left join yyy for system_time as of t1.proctime as t2 on 
t1.id = t2.id;
这样才行。


Best,
Xinghalo

回复