nsivabalan commented on code in PR #18191:
URL: https://github.com/apache/hudi/pull/18191#discussion_r2885844021
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/strategy/PartitionAwareClusteringPlanStrategy.java:
##########
@@ -164,7 +165,14 @@ public Option<HoodieClusteringPlan>
generateClusteringPlan(ClusteringPlanActionE
return Option.empty();
}
- List<Pair<List<HoodieClusteringGroup>, String>> res =
getEngineContext().map(partitionPaths, partitionPath -> {
+ final HoodieEngineContext engineContext;
+ if (getWriteConfig().isClusteringPlanPartitionParallel()) {
+ engineContext = getEngineContext();
+ } else {
+ engineContext = new
HoodieLocalEngineContext(getEngineContext().getStorageConf());
Review Comment:
we can take it as a follow up patch. I am good.
--
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]