Merge pull request #2737 from gianm/fix-iisa-valueMatcher-predicate

Fix predicate-based ValueMatcher behavior for IncrementalIndex on missing columns.
This commit is contained in:
Jonathan Wei 2016-03-25 14:11:18 -07:00
commit 02d0c704b1
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ public class IncrementalIndexStorageAdapter implements StorageAdapter
{
IncrementalIndex.DimensionDesc dimensionDesc = index.getDimension(dimension);
if (dimensionDesc == null) {
return new BooleanValueMatcher(false);
return new BooleanValueMatcher(predicate.apply(null));
}
final int dimIndex = dimensionDesc.getIndex();
final IncrementalIndex.DimDim dimDim = dimensionDesc.getValues();