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>>.

        Issue Links

          Activity

          Hide
          kkl0u Kostas Kloudas added a comment -

          Merged at ae9c9d061a8b49931c88908b8713cb2efe5f9202 in master.

          Show
          kkl0u Kostas Kloudas added a comment - Merged at ae9c9d061a8b49931c88908b8713cb2efe5f9202 in master.
          Hide
          kkl0u Kostas Kloudas added a comment -

          This is the PR that addresses it: https://github.com/apache/flink/pull/3909

          Show
          kkl0u Kostas Kloudas added a comment - This is the PR that addresses it: https://github.com/apache/flink/pull/3909

            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:

                Development