github-actions[bot] commented on code in PR #70129:
URL: https://github.com/apache/doris/pull/70129#discussion_r4663079631
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/RuntimeFilterTranslator.java:
##########
@@ -125,6 +131,12 @@ public void translateRuntimeFilterTarget(Slot slot,
ScanNode node, PlanTranslato
context.getScanNodeOfLegacyRuntimeFilterTarget().put(slot, node);
}
+ public void registerExchangeNode(PhysicalDistribute<?> distribute,
ExchangeNode node) {
+ if (context.getSessionVariable().enableRuntimeFilterOnExchange) {
+ exchangeNodes.put(distribute.getId(), node);
+ }
+ }
+
private class RuntimeFilterExpressionTranslator extends
ExpressionTranslator {
SlotRef targetSlotRef;
Review Comment:
[P2] Exchange runtime-filter targets are ignored by BE
When `enableRuntimeFilterOnExchange` is enabled, this adds an RF descriptor
to the `ExchangeNode`. The current BE `ExchangeSourceOperatorX` never registers
`tnode.runtime_filters` (it only parses ordinary `conjuncts` and filters
those), so the descriptor is neither awaited nor evaluated at the receiver. The
scan target still applies its own copy, which masks correctness errors but
means this feature does not perform the advertised early exchange filtering.
Add the exchange consumer/dependency path in BE or gate this serialization
until that support exists, and add an execution-level test.
--
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]