mirror of https://github.com/apache/druid.git
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:
commit
02d0c704b1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue