You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (JIRA)" <ji...@apache.org> on 2017/05/17 13:00:09 UTC
[jira] [Closed] (FLINK-6371) Return matched patterns as Map> instead of Map
[ https://issues.apache.org/jira/browse/FLINK-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kostas Kloudas closed FLINK-6371.
---------------------------------
Resolution: Fixed
Merged at ae9c9d061a8b49931c88908b8713cb2efe5f9202 in master.
> Return matched patterns as Map<String, List<T>> instead of Map<String, T>
> --------------------------------------------------------------------------
>
> Key: FLINK-6371
> URL: https://issues.apache.org/jira/browse/FLINK-6371
> Project: Flink
> Issue Type: Bug
> Components: CEP
> Affects Versions: 1.3.0
> Reporter: Kostas Kloudas
> Assignee: Kostas Kloudas
> Fix For: 1.3.0
>
>
> 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>>}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)