Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30839

Relaxed looping group pattern make the following strict contiguity relaxed too

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.15.3, 1.16.1
    • None
    • Library / CEP
    • None

    Description

      If a group pattern loops with relaxed contiguity, the strict contiguity between group pattern and next pattern turns out to be as the same effect as relaxed contiguity.

      E.g. for pattern:

      Pattern.begin(Pattern.begin("A").next("B")).oneOrMore().next("C")
      

      sequence (a b d c) is also a matched one, which is abviously wrong.

      As part of the NFA below shows, the ignore edge on A state causes the unexpected ignoration of event "d".

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Juntao Hu Juntao Hu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment