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/15 13:25:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16010509#comment-16010509 ] 

Kostas Kloudas commented on FLINK-6371:
---------------------------------------

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

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