Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/2843#discussion_r89689538 --- Diff: flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/CEPITCase.java --- @@ -361,17 +351,18 @@ public String select(Map<String, Event> pattern) { } ); - result.writeAsText(resultPath, FileSystem.WriteMode.OVERWRITE); + result.addSink(resultSink); --- End diff -- How about using `DataStreamUtils#collect()` here? Then we wouldn't need to move that sink class around.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---