JingsongLi commented on code in PR #5928: URL: https://github.com/apache/paimon/pull/5928#discussion_r2218323294
########## paimon-api/src/main/java/org/apache/paimon/CoreOptions.java: ########## @@ -680,6 +680,32 @@ public InlineElement getDescription() { + "size is 1% smaller than the next sorted run's size, then include next sorted run " + "into this candidate set."); + public static final ConfigOption<Integer> COMPACT_OFFPEAK_START_HOUR = + key("compaction.offpeak.start.hour") + .intType() + .defaultValue(-1) + .withDescription( + "The start of off-peak hours, expressed as an integer between 0 and 23, inclusive" + + " Set to -1 to disable off-peak"); + + public static final ConfigOption<Integer> COMPACT_OFFPEAK_END_HOUR = + key("compaction.offpeak.end.hour") + .intType() + .defaultValue(-1) + .withDescription( + "The end of off-peak hours, expressed as an integer between 0 and 23, inclusive. Set" + + " to -1 to disable off-peak."); + + public static final ConfigOption<Integer> COMPACTION_OFFPEAK_RATIO = + key("compaction.offpeak-ratio") + .intType() + .defaultValue(0) + .withDescription( + "Allows you to set a different (by default, more aggressive) percentage ratio for determining " Review Comment: Can you add a use case in description? -- 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: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org