xzj7019 commented on code in PR #27051:
URL: https://github.com/apache/doris/pull/27051#discussion_r1407383734


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalIntersect.java:
##########
@@ -98,4 +104,23 @@ public LogicalIntersect 
withNewOutputs(List<NamedExpression> newOutputs) {
         return new LogicalIntersect(qualifier, newOutputs, 
regularChildrenOutputs,
                 Optional.empty(), Optional.empty(), children);
     }
+
+    @Override
+    public FunctionalDependencies computeFuncDeps(Supplier<List<Slot>> 
outputSupplier) {
+        FunctionalDependencies.Builder builder = new FunctionalDependencies
+                
.Builder(child(0).getLogicalProperties().getFunctionalDependencies());

Review Comment:
   for intersect, right side fd also can be propagated.



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

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


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

Reply via email to