Github user ajantha-bhat commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2826#discussion_r228500224
--- 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 : yes, we can have a BitSet in columnPage for enum of Encoding,
and from PageMetaData encodings we can set the bitset. And to check whether
particular encoding is there or not, we just have to check whether that bit is
set or not.
Currently we don't need this, but like you said, it will help for future
changes. I can do this change if you and @ravipesala agrees for this change.
---