[ https://issues.apache.org/jira/browse/FLINK-31040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693321#comment-17693321 ]
Nicholas Jiang commented on FLINK-31040: ---------------------------------------- [~Juntao Hu], [~martijnvisser], thanks for the reporter. Looping pattern notFollowedBy at end indeed misses an element. Could you like to fix the missing? > 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 (v8.20.10#820010)