Thank you for your quick response. That worked and compiled but another error came up. On runtime it gives the following error:
java.lang.ClassCastException: MyEventType cannot be cast to scala.collection.IterableLike The error is at line val startEvent = pattern.get("first").get.head of myFunction. -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/FlinkCEP-1-3-scala-cannot-apply-select-function-tp13824p13828.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.