1
0

[MINOR] Fixing checkpoint management in S3IncrSource (#4871)

This commit is contained in:
Sivabalan Narayanan
2022-02-22 09:15:16 -05:00
committed by GitHub
parent b87e95d621
commit 9678c3fbcf

View File

@@ -106,8 +106,8 @@ public class S3EventsHoodieIncrSource extends HoodieIncrSource {
sparkContext, srcPath, numInstantsPerFetch, beginInstant, missingCheckpointStrategy);
if (queryTypeAndInstantEndpts.getValue().getKey().equals(queryTypeAndInstantEndpts.getValue().getValue())) {
LOG.warn("Already caught up. Begin Checkpoint was :" + queryTypeAndInstantEndpts.getKey());
return Pair.of(Option.empty(), queryTypeAndInstantEndpts.getKey());
LOG.warn("Already caught up. Begin Checkpoint was :" + queryTypeAndInstantEndpts.getValue().getKey());
return Pair.of(Option.empty(), queryTypeAndInstantEndpts.getValue().getKey());
}
Dataset<Row> source = null;