You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2023/02/17 08:29:00 UTC

[jira] [Closed] (FLINK-31017) Early-started partial match timeout not yield completed matches

     [ https://issues.apache.org/jira/browse/FLINK-31017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dian Fu closed FLINK-31017.
---------------------------
    Resolution: Fixed

Merged to:
- master: 919d46ef91488627a282d1474208490b6dc7a820
- 1.17: 257be14bb47f7481927ea17bc82b4b6ff63e8b30
- 1.16: d61e4a1884e265e0a33f0f4dbad50898df14677f

> Early-started partial match timeout not yield completed matches
> ---------------------------------------------------------------
>
>                 Key: FLINK-31017
>                 URL: https://issues.apache.org/jira/browse/FLINK-31017
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / CEP
>    Affects Versions: 1.16.1
>            Reporter: Juntao Hu
>            Assignee: Juntao Hu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.17.0, 1.16.2
>
>
> Pattern example:
> {code:java}
> Pattern.begin("A").where(startsWith("a")).oneOrMore().consecutive().greedy()
>     .followedBy("B")
>     .where(count("A") > 2 ? startsWith("b") : startsWith("c"))
>     .within(Time.seconds(3));{code}
> Sequence example, currently without any output:
> a1 a2 a3 a4 c1
> When match[a3, a4, c1] completes, partial match[a1, a2, a3, a4] is earlier, so NFA#processMatchesAccordingToSkipStrategy() won't give any result, which is the expected behavior. However, when partial match[a1, a2, a3, a4] is timed-out, completed match[a3, a4, c1] should be "freed" from NFAState to output.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)