gt;
>> 发送时间: 2020年5月19日 0:02
>> 收件人: user-zh@flink.apache.org
>> 主题: Re: flink sql使用维表关联时报Temporal table join currently only supports 'FOR
>> SYSTEM_TIME AS OF' left table's proctime field, doesn't support 'PROCTIME()'
>>
>> 可以的吧,jark
th-flink-sql/>
> 也是这么用的,我也试过sql client和table api里面都没问题
>
>> 2020年5月18日 下午4:43,wind.fly....@outlook.com 写道:
>>
>> Hi,
>> 经过尝试,select时候调用PROCTIME()函数生成proctime字段是可行的,谢谢。
>>
>> 发件人: 111
>> 发送时间: 2020年5月18日 16:07
>&
le api里面都没问题
> 2020年5月18日 下午4:43,wind.fly@outlook.com 写道:
>
> Hi,
> 经过尝试,select时候调用PROCTIME()函数生成proctime字段是可行的,谢谢。
>
> 发件人: 111
> 发送时间: 2020年5月18日 16:07
> 收件人: user-zh@flink.apache.org
> 主题: 回复: flink sql使用维表关联时报Temporal table join currently
Hi,
经过尝试,select时候调用PROCTIME()函数生成proctime字段是可行的,谢谢。
发件人: 111
发送时间: 2020年5月18日 16:07
收件人: user-zh@flink.apache.org
主题: 回复: flink sql使用维表关联时报Temporal table join currently only supports 'FOR
SYSTEM_TIME AS OF' left table's proctime field,
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
HI,
遇到相同的情况 +1,Flink 1.10.1同样不好使。
Best,
Xinghalo
是的,应该是AS PROCTIME(),是我的笔误。但是同样的错误还会报。
发件人: Benchao Li
发送时间: 2020年5月18日 12:59
收件人: user-zh
主题: Re: flink sql使用维表关联时报Temporal table join currently only supports 'FOR
SYSTEM_TIME AS OF' left table's proctime field, doesn't support 'PROCTIME()'
你第二次贴的DDL好像也有些问题,是不是`
Sorry, 之前建表语句copy错了,应该是这样:
CREATE TABLE x.log.yanfa_log (
dt TIMESTAMP(3),
conn_id STRING,
sequence STRING,
trace_id STRING,
span_info STRING,
service_id STRING,
msg_id STRING,
servicename STRING,
ret_code STRING,
duration STRING,
req_body MAP,