[ 
https://issues.apache.org/jira/browse/FLINK-19449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292701#comment-17292701
 ] 

laiyijie commented on FLINK-19449:
----------------------------------

在流式处理中遇到同样的问题

sql语句为

select *, lead(`at`) over ( partition by bond_id order by t_start ) as `lag_at`

lag_at 的值会和当前行的值一致,lead方法也同样有问题

> LEAD/LAG cannot work correctly in streaming mode
> ------------------------------------------------
>
>                 Key: FLINK-19449
>                 URL: https://issues.apache.org/jira/browse/FLINK-19449
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API, Table SQL / Runtime
>    Affects Versions: 1.10.2, 1.11.2
>            Reporter: Benchao Li
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to