avantgardnerio commented on issue #23814: URL: https://github.com/apache/datafusion/issues/23814#issuecomment-5051345715
I am not able to give it my full attention yet, and I apologize for that.
But I think Impala does this:
```
PLAN-ROOT SINK
|
04:EXCHANGE [UNPARTITIONED]
|
02:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash predicates: year = year
| runtime filters: RF000 <- year <-- producer
|
|--03:EXCHANGE [BROADCAST]
| |
| 01:SCAN HDFS [default.yy2]
| partitions=1/1 files=1 size=620B
|
00:SCAN HDFS [default.yy]
partitions=5/5 files=5 size=1.71KB
runtime filters: RF000 -> year <-- consumer
```
I think the only change we would need to track things is:
1. add 2 methods to `ExecutionPlanNode`: `get_sender_ids() -> Vec<usize>`
and `get_receiver_ids()`
2. have the rules that connect 2 operators to increment and assign those
counters to ops
--
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]
