xanderbailey commented on code in PR #20924:
URL: https://github.com/apache/datafusion/pull/20924#discussion_r2980435698
##########
datafusion/physical-plan/src/repartition/mod.rs:
##########
@@ -1049,7 +1056,7 @@ impl ExecutionPlan for RepartitionExec {
Arc::clone(&reservation),
spill_stream,
1, // Each receiver handles one input partition
- BaselineMetrics::new(&metrics, partition),
+ BaselineMetrics::new(&intermediate_metrics,
partition),
Review Comment:
Making it optional made the code inside `PerPartitionStream` less clean I
think but I don't have a strong opinion I have to say so I'm happy to do
whatever
--
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]