danny0405 commented on code in PR #6566:
URL: https://github.com/apache/hudi/pull/6566#discussion_r961211266
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/compact/HoodieFlinkCompactor.java:
##########
@@ -211,28 +214,36 @@ private void compact() throws Exception {
// checks the compaction plan and do compaction.
if (cfg.schedule) {
- Option<String> compactionInstantTimeOption =
CompactionUtil.getCompactionInstantTime(metaClient);
+ Option<String> compactionInstantTimeOption =
CompactionUtil.getCompactionInstantTime(
+ metaClient);
if (compactionInstantTimeOption.isPresent()) {
- boolean scheduled =
writeClient.scheduleCompactionAtInstant(compactionInstantTimeOption.get(),
Option.empty());
+ boolean scheduled = writeClient.scheduleCompactionAtInstant(
+ compactionInstantTimeOption.get(), Option.empty());
Review Comment:
Can we revert these unnecessary changes ?
--
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]