danny0405 commented on code in PR #12166:
URL: https://github.com/apache/hudi/pull/12166#discussion_r1826399591
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/source/TestStreamReadMonitoringFunction.java:
##########
@@ -438,6 +487,20 @@ private void runAsync(
task.start();
}
+ private Integer intervalBetween2Instants(HoodieTimeline timeline, String
instant1, String instant2) {
+ Integer idxInstant1 = getInstantIdxInTimeline(timeline, instant1);
Review Comment:
Can we just filter the timeline with proper range and count the instants
instead?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]