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


##########
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:
   what is the impact of this change? what about other code paths that use this 
API?



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