[ https://issues.apache.org/jira/browse/FLINK-7129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140185#comment-16140185 ]
Aljoscha Krettek commented on FLINK-7129: ----------------------------------------- Ha! I have in fact used this pattern myself in the Beam code. The trick is to make it an anonymous inner subclass, i.e. {code} patternStream = new SingleOutputStreamOperator(keyedStream.getExecutionEnvironment(), transform) {}; {code} Also, the {{CoCepPatternOperator}} must never use keyed state in {{processElement2()}} because there will never be a key. What did you mean by your comment about that? > Dynamically changing patterns > ----------------------------- > > Key: FLINK-7129 > URL: https://issues.apache.org/jira/browse/FLINK-7129 > Project: Flink > Issue Type: New Feature > Components: CEP > Reporter: Dawid Wysakowicz > Assignee: Dawid Wysakowicz > > An umbrella task for introducing mechanism for injecting patterns through > coStream -- This message was sent by Atlassian JIRA (v6.4.14#64029)