[
https://issues.apache.org/jira/browse/FLINK-31040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132628#comment-18132628
]
Mohammad Bani Hani commented on FLINK-31040:
--------------------------------------------
[~nicholasjiang] We hit this on 1.20 too: advanceTime only releases partial
matches that are already in Pending, so a loop that times out before the next
event gets dropped. I have a small fix in NFA/NFACompiler that moves it into
Pending on timeout (it fixes FLINK-31044 as well); could you assign both items
to me so I can open a PR with tests?
> Looping pattern notFollowedBy at end missing an element
> -------------------------------------------------------
>
> Key: FLINK-31040
> URL: https://issues.apache.org/jira/browse/FLINK-31040
> Project: Flink
> Issue Type: Bug
> Components: Library / CEP
> Affects Versions: 1.17.0, 1.15.3, 1.16.1
> Reporter: Juntao Hu
> Priority: Major
>
> Pattern: begin("A",
> SKIP_TO_NEXT).oneOrMore().consecutive().notFollowedBy("B").within(Time.milliseconds(3))
> Sequence: <a1, 1L> <a2, 2L> <a3, 3L> <a4, 4L> <c1, 10L> will produce results
> [a1, a2], [a2, a3], [a3], which obviously should be [a1, a2, a3], [a2, a3,
> a4], [a3, a4], [a4].
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)