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

Unexpected behavior using greedy on looping pattern with notFollowedBy at end

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: