You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by za...@apache.org on 2021/12/14 17:54:19 UTC

[calcite] branch master updated: Remove duplicate entries from RelOptRules.CALC_RULES

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c1fab9d  Remove duplicate entries from RelOptRules.CALC_RULES
c1fab9d is described below

commit c1fab9d2984754423580abbb73bd8ee6ebe35910
Author: Stamatis Zampetakis <za...@gmail.com>
AuthorDate: Mon Dec 13 16:19:24 2021 +0100

    Remove duplicate entries from RelOptRules.CALC_RULES
    
    It makes no difference for the planner since duplicate rules are
    ignored.
---
 core/src/main/java/org/apache/calcite/plan/RelOptRules.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/src/main/java/org/apache/calcite/plan/RelOptRules.java b/core/src/main/java/org/apache/calcite/plan/RelOptRules.java
index f20df1a..aa56f78 100644
--- a/core/src/main/java/org/apache/calcite/plan/RelOptRules.java
+++ b/core/src/main/java/org/apache/calcite/plan/RelOptRules.java
@@ -52,9 +52,6 @@ public class RelOptRules {
           EnumerableRules.ENUMERABLE_CALC_RULE,
           EnumerableRules.ENUMERABLE_FILTER_TO_CALC_RULE,
           EnumerableRules.ENUMERABLE_PROJECT_TO_CALC_RULE,
-          CoreRules.CALC_MERGE,
-          CoreRules.FILTER_CALC_MERGE,
-          CoreRules.PROJECT_CALC_MERGE,
           CoreRules.FILTER_TO_CALC,
           CoreRules.PROJECT_TO_CALC,
           CoreRules.CALC_MERGE,