You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ro...@apache.org on 2023/11/10 18:19:53 UTC

(pinot) branch master updated: [hotfix] fix filter merge after rule (#11989)

This is an automated email from the ASF dual-hosted git repository.

rongr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new b38bd9fb34 [hotfix] fix filter merge after rule (#11989)
b38bd9fb34 is described below

commit b38bd9fb34aa06e53e11f540c1315306d023a9c5
Author: Rong Rong <ro...@apache.org>
AuthorDate: Fri Nov 10 10:19:45 2023 -0800

    [hotfix] fix filter merge after rule (#11989)
    
    Co-authored-by: Rong Rong <ro...@startree.ai>
---
 .../src/main/java/org/apache/calcite/rel/rules/PinotQueryRuleSets.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pinot-query-planner/src/main/java/org/apache/calcite/rel/rules/PinotQueryRuleSets.java b/pinot-query-planner/src/main/java/org/apache/calcite/rel/rules/PinotQueryRuleSets.java
index ff3aca3012..ebb4029348 100644
--- a/pinot-query-planner/src/main/java/org/apache/calcite/rel/rules/PinotQueryRuleSets.java
+++ b/pinot-query-planner/src/main/java/org/apache/calcite/rel/rules/PinotQueryRuleSets.java
@@ -103,6 +103,7 @@ public class PinotQueryRuleSets {
   // The pruner rules run top-down to ensure Calcite restarts from root node after applying a transformation.
   public static final Collection<RelOptRule> PRUNE_RULES = ImmutableList.of(
       CoreRules.PROJECT_MERGE,
+      CoreRules.FILTER_MERGE,
       CoreRules.AGGREGATE_REMOVE,
       CoreRules.SORT_REMOVE,
       PruneEmptyRules.AGGREGATE_INSTANCE, PruneEmptyRules.FILTER_INSTANCE, PruneEmptyRules.JOIN_LEFT_INSTANCE,


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