Skip to content

Commit

Permalink
[HUDI-8102] Turn on data skipping and position-based record merging b…
Browse files Browse the repository at this point in the history
…y default (apache#11620)
  • Loading branch information
codope authored Sep 13, 2024
1 parent d4784c4 commit f605f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class HoodieReaderConfig extends HoodieConfig {

public static final ConfigProperty<Boolean> MERGE_USE_RECORD_POSITIONS = ConfigProperty
.key("hoodie.merge.use.record.positions")
.defaultValue(false)
.defaultValue(true)
.markAdvanced()
.sinceVersion("1.0.0")
.withDocumentation("Whether to use positions in the block header for data blocks containing updates and delete blocks for merging.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ object DataSourceReadOptions {

val ENABLE_DATA_SKIPPING: ConfigProperty[Boolean] = ConfigProperty
.key("hoodie.enable.data.skipping")
.defaultValue(false)
.defaultValue(true)
.markAdvanced()
.sinceVersion("0.10.0")
.withDocumentation("Enables data-skipping allowing queries to leverage indexes to reduce the search space by " +
Expand Down

0 comments on commit f605f28

Please sign in to comment.