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

Greedy option on the looping pattern at the end not working

    XMLWordPrintableJSON

Details

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

    Description

      If use greedy option on a looping pattern which is at the end of the whole pattern, the matching result is not "greedy".

      Example1

      pattern: A.oneOrMore().consecutive().greedy() (SKIP_TO_NEXT)

      sequence: a1, a2, a3

      result: [a1] [a2] [a3]

      Example2

      pattern: B.next(A).oneOrMore().consecutive().greedy() (SKIP_TO_NEXT)

      sequence: b1, a1, a2, a3

      result: [b1 a1]

      Attachments

        Activity

          People

            Unassigned Unassigned
            Juntao Hu Juntao Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: