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 <[email protected]>
AuthorDate: Fri Nov 10 10:19:45 2023 -0800

    [hotfix] fix filter merge after rule (#11989)
    
    Co-authored-by: Rong Rong <[email protected]>
---
 .../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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to