Github user dawidwys commented on a diff in the pull request: https://github.com/apache/flink/pull/6120#discussion_r201662934 --- Diff: flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/CEPITCase.java --- @@ -119,19 +120,15 @@ public boolean filter(Event value) throws Exception { } }); - DataStream<String> result = CEP.pattern(input, pattern).select(new PatternSelectFunction<Event, String>() { + DataStream<String> result = CEP.pattern(input, pattern).flatSelect((p, o) -> { --- End diff -- We should also have one test with `select` and lambda.
---