1
0

Introduce config to control interval tree pruning

- turned on by default
 - Minor code refactoring/restructuring
This commit is contained in:
Vinoth Chandar
2019-04-18 15:21:52 -07:00
committed by vinoth chandar
parent 7129dc5bb7
commit ea20d47248
9 changed files with 74 additions and 82 deletions

View File

@@ -324,8 +324,8 @@ public class HoodieWriteConfig extends DefaultHoodieConfig {
return Boolean.parseBoolean(props.getProperty(HoodieIndexConfig.BLOOM_INDEX_USE_CACHING_PROP));
}
public int getNumBucketsPerPartition() {
return Integer.parseInt(props.getProperty(HoodieIndexConfig.BUCKETED_INDEX_NUM_BUCKETS_PROP));
public boolean useBloomIndexTreebasedFilter() {
return Boolean.parseBoolean(props.getProperty(HoodieIndexConfig.BLOOM_INDEX_TREE_BASED_FILTER_PROP));
}
public StorageLevel getBloomIndexInputStorageLevel() {