This is an automated email from the ASF dual-hosted git repository.

lamberken pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new fa6aba7  [MINOR] fixed building IndexFileFilter with a wrong condition 
in HoodieGlobalBloomIndex class (#1537)
fa6aba7 is described below

commit fa6aba751d8de16d9d109a8cfc21150b17b59cff
Author: Carm <[email protected]>
AuthorDate: Sun May 10 09:45:07 2020 +0800

    [MINOR] fixed building IndexFileFilter with a wrong condition in 
HoodieGlobalBloomIndex class (#1537)
---
 .../main/java/org/apache/hudi/index/bloom/HoodieGlobalBloomIndex.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hudi-client/src/main/java/org/apache/hudi/index/bloom/HoodieGlobalBloomIndex.java
 
b/hudi-client/src/main/java/org/apache/hudi/index/bloom/HoodieGlobalBloomIndex.java
index e2b231c..a35d32f 100644
--- 
a/hudi-client/src/main/java/org/apache/hudi/index/bloom/HoodieGlobalBloomIndex.java
+++ 
b/hudi-client/src/main/java/org/apache/hudi/index/bloom/HoodieGlobalBloomIndex.java
@@ -86,7 +86,7 @@ public class HoodieGlobalBloomIndex<T extends 
HoodieRecordPayload> extends Hoodi
       JavaPairRDD<String, String> partitionRecordKeyPairRDD) {
 
     IndexFileFilter indexFileFilter =
-        config.getBloomIndexPruneByRanges() ? new 
IntervalTreeBasedGlobalIndexFileFilter(partitionToFileIndexInfo)
+        config.useBloomIndexTreebasedFilter() ? new 
IntervalTreeBasedGlobalIndexFileFilter(partitionToFileIndexInfo)
             : new ListBasedGlobalIndexFileFilter(partitionToFileIndexInfo);
 
     return partitionRecordKeyPairRDD.map(partitionRecordKeyPair -> {

Reply via email to