the-other-tim-brown commented on code in PR #10837:
URL: https://github.com/apache/hudi/pull/10837#discussion_r1517166950
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanPlanner.java:
##########
@@ -234,8 +234,8 @@ private List<String>
getPartitionPathsForIncrementalCleaning(HoodieCleanMetadata
}
private List<String> getPartitionsFromDeletedSavepoint(HoodieCleanMetadata
cleanMetadata) {
- List<String> savepointedTimestampsFromLastClean =
Arrays.stream(cleanMetadata.getExtraMetadata()
- .getOrDefault(SAVEPOINTED_TIMESTAMPS,
StringUtils.EMPTY_STRING).split(","))
+ List<String> savepointedTimestampsFromLastClean =
cleanMetadata.getExtraMetadata() == null ? Collections.emptyList()
Review Comment:
Is there any test case that can be added here?
--
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]