You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/20 17:05:00 UTC

[jira] [Updated] (HUDI-817) Wrong index filter condition check in HoodieGlobalBloomIndex

     [ https://issues.apache.org/jira/browse/HUDI-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HUDI-817:
--------------------------------
    Labels: pull-request-available  (was: )

> Wrong index filter condition check in HoodieGlobalBloomIndex
> ------------------------------------------------------------
>
>                 Key: HUDI-817
>                 URL: https://issues.apache.org/jira/browse/HUDI-817
>             Project: Apache Hudi (incubating)
>          Issue Type: Bug
>          Components: Index
>            Reporter: sivabalan narayanan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.6.0
>
>
> In HoodieGlobalBloomIndex, wrong condition is checked.
>  
> {code:java}
> IndexFileFilter indexFileFilter =        config.getBloomIndexPruneByRanges() ? new IntervalTreeBasedGlobalIndexFileFilter(partitionToFileIndexInfo)            : new ListBasedGlobalIndexFileFilter(partitionToFileIndexInfo);
> {code}
>  Instead of config.getBloomIndexPruneByRanges(), it should be config.useBloomIndexTreebasedFilter().



--
This message was sent by Atlassian Jira
(v8.3.4#803005)