[MINOR] Fixing checkpoint management in S3IncrSource (#4871)
This commit is contained in:
committed by
GitHub
parent
b87e95d621
commit
9678c3fbcf
@@ -106,8 +106,8 @@ public class S3EventsHoodieIncrSource extends HoodieIncrSource {
|
|||||||
sparkContext, srcPath, numInstantsPerFetch, beginInstant, missingCheckpointStrategy);
|
sparkContext, srcPath, numInstantsPerFetch, beginInstant, missingCheckpointStrategy);
|
||||||
|
|
||||||
if (queryTypeAndInstantEndpts.getValue().getKey().equals(queryTypeAndInstantEndpts.getValue().getValue())) {
|
if (queryTypeAndInstantEndpts.getValue().getKey().equals(queryTypeAndInstantEndpts.getValue().getValue())) {
|
||||||
LOG.warn("Already caught up. Begin Checkpoint was :" + queryTypeAndInstantEndpts.getKey());
|
LOG.warn("Already caught up. Begin Checkpoint was :" + queryTypeAndInstantEndpts.getValue().getKey());
|
||||||
return Pair.of(Option.empty(), queryTypeAndInstantEndpts.getKey());
|
return Pair.of(Option.empty(), queryTypeAndInstantEndpts.getValue().getKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
Dataset<Row> source = null;
|
Dataset<Row> source = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user