[
https://issues.apache.org/jira/browse/FLINK-31044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-31044:
-----------------------------------
Fix Version/s: (was: 1.17.0)
(was: 1.15.4)
(was: 1.16.2)
(was: 1.18.0)
> 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.17.0, 1.15.3, 1.16.1
> Reporter: Juntao Hu
> Priority: Major
>
> 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)