非常开心能够帮到你解决问题。
不过,我没有写过博客,你应该是看的其他某位大佬的博客😂

赵玉豪 <[email protected]> 于2020年6月23日周二 下午5:02写道:

> 对,在DDL中见过这个写法,没想到还能使用在DML语句中。
> 我跑了一下sql,可以成功。感谢benchao,经常学习你的博客!
>
> ---原始邮件---
> 发件人: "Benchao Li"<[email protected]&gt;
> 发送时间: 2020年6月23日(周二) 下午4:40
> 收件人: "user-zh"<[email protected]&gt;;
> 主题: Re: 维表join不支持事件时间窗口级联
>
>
> 这不是隐藏函数呀,这个就是用来声明处理时间属性的函数。
> 如果你在DDL里通过计算列声明处理时间属性的话,也是用这个函数的。
>
> 赵玉豪 <[email protected]&gt; 于2020年6月23日周二 下午4:37写道:
>
> &gt; 感谢大佬,我试一下。proctime()是一个隐藏函数么,没有在官网上见到过。
> &gt;
> &gt;
> &gt;
> &gt; ---原始邮件---
> &gt; 发件人: "Benchao Li"<[email protected]&amp;gt;
> &gt; 发送时间: 2020年6月23日(周二) 下午4:31
> &gt; 收件人: "user-zh"<[email protected]&amp;gt;;
> &gt; 主题: Re: 维表join不支持事件时间窗口级联
> &gt;
> &gt;
> &gt; 你可以尝试一下在做完了时间时间窗口之后,再做一个view,类似于`select *, PROCTIME() AS proctime from
> &gt; window_result`,
> &gt; 这样又可以有处理时间属性了,也就是后面可以做维表join了。
> &gt;
> &gt; 赵玉豪 <[email protected]&amp;gt; 于2020年6月23日周二 下午4:21写道:
> &gt;
> &gt; &amp;gt; 当前维表join写法需要
> &gt; &amp;gt;
> 左表中包含proctime字段,但是使用事件时间窗口后就会丢失proctime属性,语法进行维表join。有什么好的解决方案么?
> &gt;
> &gt;
> &gt;
> &gt; --
> &gt;
> &gt; Best,
> &gt; Benchao Li
>
>
>
> --
>
> Best,
> Benchao Li



-- 

Best,
Benchao Li

回复