microbearz commented on code in PR #6516:
URL: https://github.com/apache/hudi/pull/6516#discussion_r956857095


##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java:
##########
@@ -1030,7 +1030,7 @@ Stream<FileSlice> fetchLatestFileSlices(String 
partitionPath) {
    */
   Stream<FileSlice> fetchLatestFileSlicesBeforeOrOn(String partitionPath, 
String maxCommitTime) {
     return fetchAllStoredFileGroups(partitionPath)
-        .map(fileGroup -> 
fileGroup.getLatestFileSliceBeforeOrOn(maxCommitTime)).filter(Option::isPresent)
+        .map(fileGroup -> 
fileGroup.getLatestCompletedFileSliceBeforeOrOn(maxCommitTime)).filter(Option::isPresent)

Review Comment:
   CI failed, seems have a side impact the other code paths, will fix it



-- 
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]

Reply via email to