Jackie-Jiang commented on a change in pull request #5013: For RANGE predicate 
queries touching offline segments, use sorted inverted index if the column is 
sorted
URL: https://github.com/apache/incubator-pinot/pull/5013#discussion_r371404522
 
 

 ##########
 File path: 
pinot-core/src/main/java/org/apache/pinot/core/operator/filter/predicate/RangePredicateEvaluatorFactory.java
 ##########
 @@ -129,6 +129,14 @@ public static BaseRawValueBasedPredicateEvaluator 
newRawValueBasedEvaluator(Rang
       }
     }
 
+    public int getStartDictId() {
+      return _startDictId;
+    }
+
+    public int getEndDictId() {
+      return _endDictId - 1;
 
 Review comment:
   Let's return `_endDictId` and do this `-1` at the caller side with comments 
for readability

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to