WangCHX commented on code in PR #8498:
URL: https://github.com/apache/pinot/pull/8498#discussion_r856880245


##########
pinot-core/src/main/java/org/apache/pinot/core/plan/FilterPlanNode.java:
##########
@@ -108,23 +114,24 @@ public Map<Predicate, PredicateEvaluator> 
getPredicateEvaluatorMap() {
   /**
    * H3 index can be applied iff:
    * <ul>
-   *   <li>Predicate is of type RANGE</li>
-   *   <li>Left-hand-side of the predicate is an ST_Distance function</li>
-   *   <li>One argument of the ST_Distance function is an identifier, the 
other argument is an literal</li>
+   *   <li>Predicate is of type RANGE or EQ</li>
+   *   <li>Left-hand-side of the predicate is an ST_Distance or ST_Contains 
function</li>
+   *   <li>One argument of the ST_Distance or ST_Contains function is an 
identifier, the other argument is an
+   *   literal</li>
    *   <li>The identifier column has H3 index</li>
    * </ul>
    */
   private boolean canApplyH3Index(Predicate predicate, FunctionContext 
function) {

Review Comment:
   sure. updated. 



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to