mirror of https://github.com/apache/druid.git
Fix predicate-based ValueMatcher behavior for IncrementalIndex on missing columns.
Missing columns should be treated the same as columns containing 100% nulls.
This commit is contained in:
parent
ef0bc5d64f
commit
4ac9e03161
|
@ -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