You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2020/04/20 17:03:00 UTC
[jira] [Created] (HUDI-817) Wrong index filter condition check in
HoodieGlobalBloomIndex
sivabalan narayanan created HUDI-817:
----------------------------------------
Summary: 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
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)