Gabriel39 commented on code in PR #11840:
URL: https://github.com/apache/doris/pull/11840#discussion_r947604656


##########
fe/fe-core/src/main/java/org/apache/doris/planner/EsScanNode.java:
##########
@@ -369,6 +372,9 @@ private void buildQuery() {
             } else {
                 queryBuilder = boolQueryBuilder;
             }
+            if (Config.enable_new_es_dsl) {
+                notPushDownList.forEach(expr -> conjuncts.removeIf(e -> 
e.equals(expr)));

Review Comment:
   should we remove expression which is **not** in `notPushDownList` instead?



-- 
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...@doris.apache.org

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


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

Reply via email to