1
0

[HUDI-3292] Enabling lazy read by default for log blocks during compaction (#4661)

This commit is contained in:
Sivabalan Narayanan
2022-01-31 22:36:17 -05:00
committed by GitHub
parent d3cfe07436
commit 4b388c104e

View File

@@ -200,7 +200,7 @@ public class HoodieCompactionConfig extends HoodieConfig {
public static final ConfigProperty<String> COMPACTION_LAZY_BLOCK_READ_ENABLE = ConfigProperty
.key("hoodie.compaction.lazy.block.read")
.defaultValue("false")
.defaultValue("true")
.withDocumentation("When merging the delta log files, this config helps to choose whether the log blocks "
+ "should be read lazily or not. Choose true to use lazy block reading (low memory usage, but incurs seeks to each block"
+ " header) or false for immediate block read (higher memory usage)");