You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/01 02:08:43 UTC

[GitHub] [incubator-doris] starocean999 commented on a change in pull request #8745: [Enhancement] runtime filter may have negative effects in some primary-foreign key join

starocean999 commented on a change in pull request #8745:
URL: https://github.com/apache/incubator-doris/pull/8745#discussion_r840174331



##########
File path: fe/fe-core/src/main/java/org/apache/doris/planner/Planner.java
##########
@@ -266,6 +271,57 @@ public void createPlanFragments(StatementBase statement, Analyzer analyzer, TQue
         }
     }
 
+    private class FindTuplePredicate implements com.google.common.base.Predicate<PlanNode> {
+        private final TupleId tupleId;
+
+        FindTuplePredicate(TupleId id) {
+            tupleId = id;
+        }
+
+        @Override
+        public boolean apply(PlanNode arg) {
+            return arg.getTupleIds().size() == 1 && arg.getTupleIds().get(0) == tupleId

Review comment:
       Note is added, pls see the new commit




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

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



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