JingsongLi commented on code in PR #4644:
URL: https://github.com/apache/paimon/pull/4644#discussion_r1872561206
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/operator/ReadOperator.java:
##########
@@ -94,6 +98,8 @@ public void processElement(StreamRecord<Split> record) throws
Exception {
.earliestFileCreationEpochMillis()
.orElse(FileStoreSourceReaderMetrics.UNDEFINED);
sourceReaderMetrics.recordSnapshotUpdate(eventTime);
+ // update idleStartTime when reading a new split
+ idleStartTime = FileStoreSourceReaderMetrics.UNDEFINED;
Review Comment:
See `InternalSourceReaderMetricGroup`, it should be `ACTIVE`? Can you just
copy the codes?
--
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]