1
0

[HUDI-1490] Incremental Query should work even when there are partitions that have no incremental changes (#2371)

* Incremental Query should work even when there are  partitions that have no incremental changes

Co-authored-by: Sivabalan Narayanan <sivabala@uber.com>
This commit is contained in:
Balaji Varadarajan
2020-12-26 09:17:49 -08:00
committed by GitHub
parent e807bb895e
commit 3ec9270e8e
2 changed files with 29 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ public class HoodieInputFormatUtils {
return false;
})
.collect(Collectors.joining(","));
return Option.of(incrementalInputPaths);
return StringUtils.isNullOrEmpty(incrementalInputPaths) ? Option.empty() : Option.of(incrementalInputPaths);
}
/**