You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/08/29 03:05:21 UTC

[GitHub] [hudi] microbearz commented on a diff in pull request #6516: [HUDI-4729] Fix fq can not be queried in pending compaction when query ro table with spark

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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org