In the Cursor returned by QueryableIndexStorageAdapter, the DimensionSelectors created from the Cursor have different null handling behavior for multi-value and single-value dimensions.
In the implementation of DimensionSelector.lookupName(id):
- For multi-value dimensions, Strings.nullToEmpty() is called on the value before it is returned or passed to the extractionFn.
- For single-value dimensions, there is no null->empty str conversion.
DimensionSelectors originating from an IncrementalIndex do not perform the null->empty str conversion either.
In the Cursor returned by QueryableIndexStorageAdapter, the DimensionSelectors created from the Cursor have different null handling behavior for multi-value and single-value dimensions.
In the implementation of DimensionSelector.lookupName(id):
DimensionSelectors originating from an IncrementalIndex do not perform the null->empty str conversion either.