englefly commented on code in PR #19312: URL: https://github.com/apache/doris/pull/19312#discussion_r1324401685
########## fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/RuntimeFilterContext.java: ########## @@ -153,8 +154,11 @@ public void removeFilter(ExprId targetId, PhysicalHashJoin builderNode) { if (filters != null) { Iterator<RuntimeFilter> iter = filters.iterator(); while (iter.hasNext()) { - if (iter.next().getBuilderNode().equals(builderNode)) { + RuntimeFilter rf = iter.next(); + if (rf.getBuilderNode().equals(builderNode)) { + builderNode.getRuntimeFilters().remove(rf); iter.remove(); + prunedRF.add(rf); Review Comment: it is for ut. ut comes latter. -- 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