Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2725#discussion_r218062043
--- Diff:
core/src/main/java/org/apache/carbondata/core/scan/filter/executer/RowLevelRangeGrtThanFiterExecuterImpl.java
---
@@ -194,9 +198,12 @@ public BitSetGroup applyFilter(RawBlockletColumnChunks
rawBlockletColumnChunks,
BitSetGroup bitSetGroup = new
BitSetGroup(rawColumnChunk.getPagesCount());
FilterExecuter filterExecuter = null;
boolean isExclude = false;
+ boolean isMinMaxSetForFilterDimension =
+ rawBlockletColumnChunks.getDataBlock().isMinMaxSet()[chunkIndex];
for (int i = 0; i < rawColumnChunk.getPagesCount(); i++) {
if (rawColumnChunk.getMaxValues() != null) {
- if (isScanRequired(rawColumnChunk.getMaxValues()[i],
this.filterRangeValues)) {
+ if (!isMinMaxSetForFilterDimension ||
isScanRequired(rawColumnChunk.getMaxValues()[i],
--- End diff --
Please use the minaxflags from the current page and do the scan require
check
---