Skip to content

Commit

Permalink
[MINOR][DO NOT MERGE] Turn on data skipping and native hfile reader b…
Browse files Browse the repository at this point in the history
…y default
  • Loading branch information
codope committed Jul 25, 2024
1 parent 7232d24 commit 3366ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public class HoodieReaderConfig extends HoodieConfig {
public static final ConfigProperty<Boolean> USE_NATIVE_HFILE_READER = ConfigProperty
.key("_hoodie.hfile.use.native.reader")
.defaultValue(false)
.defaultValue(true)
.markAdvanced()
.sinceVersion("1.0.0")
.withDocumentation("When enabled, the native HFile reader is used to read HFiles. This is an internal config.");
Expand Down 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 3366ddc

Please sign in to comment.