Github user dhatchayani commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2826#discussion_r228498210
--- Diff:
core/src/main/java/org/apache/carbondata/core/scan/filter/executer/RangeValueFilterExecuterImpl.java
---
@@ -511,7 +511,7 @@ private BitSet setFilterdIndexToBitSetWithColumnIndex(
// Binary Search cannot be done on '@NU#LL$!", so need to check and
compare for null on
// matching row.
- if (dimensionColumnPage.isNoDicitionaryColumn()) {
+ if (dimensionColumnPage.isNoDicitionaryColumn() &&
!dimensionColumnPage.isAdaptiveEncoded()) {
--- End diff --
@jackylk isAdaptiveEncoded() is already set/decided by the function
org.apache.carbondata.core.datastore.chunk.reader.dimension.v3.CompressedDimensionChunkFileBasedReaderV3#isEncodedWithAdaptiveMeta.
In future also we can change the function accordingly
---