alamb commented on code in PR #27915:
URL: https://github.com/apache/datafusion/pull/27915#discussion_r4773954302


##########
datafusion/physical-plan/src/repartition/mod.rs:
##########
@@ -1551,14 +1557,17 @@ struct RepartitionMetrics {
     repartition_time: metrics::Time,
     /// Time in nanos for sending resulting batches to channels.
     ///
-    /// One metric per output partition.
-    send_time: Vec<metrics::Time>,
+    /// One metric per used output partition, registered on first use.

Review Comment:
   maybe we can also comment here about the rationale (aka reduce overhead over 
large numbers of partitions)



-- 
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