danny0405 commented on code in PR #11737:
URL: https://github.com/apache/hudi/pull/11737#discussion_r1708377033
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/TestCompactionAdminClient.java:
##########
@@ -283,7 +282,7 @@ private List<Pair<HoodieLogFile, HoodieLogFile>>
validateUnSchedulePlan(Compacti
// Ensure same number of log-files before and after renaming per fileId
Map<String, Long> fileIdToCountsAfterRenaming =
-
newFsView.getAllFileGroups(HoodieTestUtils.DEFAULT_PARTITION_PATHS[0]).flatMap(HoodieFileGroup::getAllFileSlices)
+
newFsView.getLatestMergedFileSlicesBeforeOrOn(HoodieTestUtils.DEFAULT_PARTITION_PATHS[0],
ingestionInstant)
.filter(fs -> fs.getBaseInstantTime().equals(ingestionInstant))
Review Comment:
The 0.x fs view does not really filter out the uncommitted files, we aim to
fix that first right?
--
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]