[ https://issues.apache.org/jira/browse/FLINK-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134833#comment-16134833 ]
ASF GitHub Bot commented on FLINK-7479: --------------------------------------- Github user dawidwys commented on a diff in the pull request: https://github.com/apache/flink/pull/4563#discussion_r134157868 --- Diff: flink-libraries/flink-cep-scala/src/main/scala/org/apache/flink/cep/scala/pattern/Pattern.scala --- @@ -329,7 +332,7 @@ class Pattern[T , F <: T](jPattern: JPattern[T, F]) { * @return The same pattern as optional. * @throws MalformedPatternException if the quantifier is not applicable to this pattern. */ - def optional: Pattern[T, F] = { + def optional = { --- End diff -- Unrelated change > Support to retrieve the past event by physical offset > ------------------------------------------------------ > > Key: FLINK-7479 > URL: https://issues.apache.org/jira/browse/FLINK-7479 > Project: Flink > Issue Type: Sub-task > Components: CEP, Table API & SQL > Reporter: Dian Fu > Assignee: Dian Fu > > Currently, it's already able to retrieve events matched to the specifed > pattern in {{IterativeCondition.Context}}. While there are also requirements > to retrieve events by an physical offset. The retrieved events may not be > matched to any pattern. -- This message was sent by Atlassian JIRA (v6.4.14#64029)