morrySnow commented on code in PR #65530:
URL: https://github.com/apache/doris/pull/65530#discussion_r3575874374


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/materialize/LazySlotPruning.java:
##########
@@ -146,8 +147,8 @@ public Plan visitPhysicalFilter(PhysicalFilter<? extends 
Plan> filter, Context c
                         filter.child().accept(this, contextForScan));
                 filter = (PhysicalFilter<? extends Plan>) filter
                         
.copyStatsAndGroupIdFrom(filter).resetLogicalProperties();
-                List<Slot> filterOutput = 
Lists.newArrayList(filter.getOutput());
-                filterOutput.removeAll(filter.getInputSlots());
+                // Predicate slots that are not lazy can still be required by 
TopN order keys.

Review Comment:
   check, the comment is wrong



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to