danny0405 commented on code in PR #6393:
URL: https://github.com/apache/hudi/pull/6393#discussion_r952250381
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/compact/HoodieCompactor.java:
##########
@@ -290,23 +291,23 @@ HoodieCompactionPlan generateCompactionPlan(
LOG.info("Compaction looking for files to compact in " + partitionPaths +
" partitions");
context.setJobStatus(this.getClass().getSimpleName(), "Looking for files
to compact: " + config.getTableName());
- List<HoodieCompactionOperation> operations =
context.flatMap(partitionPaths, partitionPath -> fileSystemView
- .getLatestFileSlices(partitionPath)
- .filter(slice ->
!fgIdsInPendingCompactionAndClustering.contains(slice.getFileGroupId()))
Review Comment:
What is the usage of the `throwingFlatMapWrapper` 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]