[HUDI-1000] Fix incremental query for COW non-partitioned table with no data (#1708)
This commit is contained in:
@@ -183,7 +183,7 @@ public class HoodieParquetInputFormat extends MapredParquetInputFormat implement
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
String incrementalInputPaths = partitionsToList.stream()
|
String incrementalInputPaths = partitionsToList.stream()
|
||||||
.map(s -> tableMetaClient.getBasePath() + Path.SEPARATOR + s)
|
.map(s -> StringUtils.isNullOrEmpty(s) ? tableMetaClient.getBasePath() : tableMetaClient.getBasePath() + Path.SEPARATOR + s)
|
||||||
.filter(s -> {
|
.filter(s -> {
|
||||||
/*
|
/*
|
||||||
* Ensure to return only results from the original input path that has incremental changes
|
* Ensure to return only results from the original input path that has incremental changes
|
||||||
|
|||||||
Reference in New Issue
Block a user