danny0405 commented on code in PR #6566:
URL: https://github.com/apache/hudi/pull/6566#discussion_r962089250


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/compact/HoodieFlinkCompactor.java:
##########
@@ -247,9 +257,11 @@ private void compact() throws Exception {
       List<Pair<String, HoodieCompactionPlan>> compactionPlans = 
compactionInstantTimes.stream()
           .map(timestamp -> {
             try {
-              return Pair.of(timestamp, 
CompactionUtils.getCompactionPlan(table.getMetaClient(), timestamp));
+              return Pair.of(timestamp,

Review Comment:
   Revert all the unnecessary change.



##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/compact/HoodieFlinkCompactor.java:
##########
@@ -247,9 +257,11 @@ private void compact() throws Exception {
       List<Pair<String, HoodieCompactionPlan>> compactionPlans = 
compactionInstantTimes.stream()
           .map(timestamp -> {
             try {
-              return Pair.of(timestamp, 
CompactionUtils.getCompactionPlan(table.getMetaClient(), timestamp));
+              return Pair.of(timestamp,
+                  CompactionUtils.getCompactionPlan(table.getMetaClient(), 
timestamp));
             } catch (IOException e) {
-              throw new HoodieException("Get compaction plan at instant " + 
timestamp + " error", e);
+              throw new HoodieException("Get compaction plan at instant " + 
timestamp + " error",
+                  e);

Review Comment:
   Revert all the unnecessary change.



-- 
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-unsubscr...@hudi.apache.org

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

Reply via email to