Juntao Hu created FLINK-31044: --------------------------------- Summary: Unexpected behavior using greedy on looping pattern with notFollowedBy at end Key: FLINK-31044 URL: https://issues.apache.org/jira/browse/FLINK-31044 Project: Flink Issue Type: Bug Components: Library / CEP Affects Versions: 1.16.1, 1.15.3, 1.17.0 Reporter: Juntao Hu Fix For: 1.17.0, 1.15.4, 1.16.2, 1.18.0
Pattern without greedy: begin("A" , SKIP_PAST_LAST).oneOrMore().consecutive().notFollowedBy("B").within(Time.milliseconds(10)) Pattern with greedy: begin("A", SKIP_PAST_LAST).oneOrMore().consecutive().greedy().notFollowedBy("B").within(Time.milliseconds(10)) For sequence: <a1, 1L> <a2, 2L> <a3, 3L>, after FLINK-31040 and FLINK-31042 fixed, both of the patterns should produce [a1, a2, a3] , when currently the pattern with greedy option makes no output. -- This message was sent by Atlassian Jira (v8.20.10#820010)