aljoscha commented on a change in pull request #13775: URL: https://github.com/apache/flink/pull/13775#discussion_r512526777
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/KeyedStream.java ########## @@ -454,11 +479,7 @@ private static boolean isEnumType(TypeInformation<?> type) { */ @PublicEvolving public IntervalJoined<T1, T2, KEY> between(Time lowerBound, Time upperBound) { - - TimeCharacteristic timeCharacteristic = - streamOne.getExecutionEnvironment().getStreamTimeCharacteristic(); - - if (timeCharacteristic != TimeCharacteristic.EventTime) { + if (timeBehaviour != TimeBehaviour.EventTime) { Review comment: No concerns. I just found it funny. Let's leave it like this 👌 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org