kl0u commented on a change in pull request #7324: [FLINK-10596][cep] Added
access to timer service in IterativeCondition
URL: https://github.com/apache/flink/pull/7324#discussion_r245608336
##########
File path:
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java
##########
@@ -851,6 +837,20 @@ private boolean checkFilterCondition(
}
};
}
+
+ @Override
+ public Long timestamp() {
+ if (timerService.isProcessingTime()) {
+ return null;
Review comment:
Should this return `null` in the case of processing time or the current
processing time? Null seems a bit odd.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services