Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6935 Integration of SQL and CEP
  3. FLINK-10588

Support reusing same variable in Pattern

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      One should be able to use the same variable multiple times in a pattern. So we should allow patterns like (A B A).

      CEP library enforces unique names for patterns. A simple workaround to generate artificial unique names won't work in this case because having multiple patterns with same name puts additional constraints on AFTER MATCH SKIP as it skips to LAST/FIRST element of elements assigned to both instances.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dwysakowicz Dawid Wysakowicz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: