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

Return matched patterns as Map<String, List<T>> instead of Map<String, T>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: CEP
    • Labels:
      None

      Description

      As reported in the last comments of this PR https://github.com/apache/flink/pull/3477#issuecomment-294306997 , currently the select()/flatSelect() functions receive the matched patterns as maps of the form Map<String, T>, where String is the name of the
      pattern and T is the actual event.

      With the introduction of quantifiers, we now may have multiple events for a given pattern (e.g. with oneOrMore()). To accommodate
      this addition, this issue proposes to transform the output format of the matched patterns to Map<String, List<T>>.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkl0u Kostas Kloudas
                Reporter:
                kkl0u Kostas Kloudas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: