yihua commented on code in PR #6670:
URL: https://github.com/apache/hudi/pull/6670#discussion_r972540738
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCompactionConfig.java:
##########
@@ -106,6 +106,12 @@ public class HoodieCompactionConfig extends HoodieConfig {
.withDocumentation("Only if the log file size is greater than the
threshold in bytes,"
+ " the file group will be compacted.");
+ public static final ConfigProperty<Long>
COMPACTION_LOG_FILE_LENGTH_THRESHOLD = ConfigProperty
+ .key("hoodie.compaction.logfile.length.threshold")
+ .defaultValue(0L)
Review Comment:
Should this be set to a reasonable value like `5` for example? Otherwise,
it falls back to the behavior where all file groups are compacted.
--
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]