bvaradar commented on code in PR #10336:
URL: https://github.com/apache/hudi/pull/10336#discussion_r1548893991
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/IncrSourceHelper.java:
##########
@@ -183,7 +183,8 @@ public static Pair<CloudObjectIncrCheckpoint,
Option<Dataset<Row>>> filterAndGen
long sourceLimit, QueryInfo queryInfo,
CloudObjectIncrCheckpoint
cloudObjectIncrCheckpoint) {
if (sourceData.isEmpty()) {
- return Pair.of(cloudObjectIncrCheckpoint, Option.empty());
+ // There is no file matching the prefix.
+ return Pair.of(new CloudObjectIncrCheckpoint(queryInfo.getEndInstant(),
null), Option.empty());
Review Comment:
cloudObjectIncrCheckpoint should not be used here to allow progress of
checkpoints where there are empty commits.
--
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]