You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/10/29 21:15:57 UTC

[GitHub] [calcite] xndai commented on a change in pull request #1543: [CALCITE-3455] Redundant rule firing for both logical and physical nodes

xndai commented on a change in pull request #1543: [CALCITE-3455] Redundant rule firing for both logical and physical nodes
URL: https://github.com/apache/calcite/pull/1543#discussion_r340329525
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/rel/rules/ProjectMergeRule.java
 ##########
 @@ -54,8 +55,8 @@
    */
   public ProjectMergeRule(boolean force, RelBuilderFactory relBuilderFactory) {
     super(
-        operand(Project.class,
-            operand(Project.class, any())),
+        operand(LogicalProject.class,
+            operand(LogicalProject.class, any())),
 
 Review comment:
   Do you know who is the right contact for Druid?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services