alamb commented on a change in pull request #909:
URL: https://github.com/apache/arrow-datafusion/pull/909#discussion_r695031745
##########
File path: datafusion/src/physical_plan/coalesce_partitions.rs
##########
@@ -43,12 +45,17 @@ use pin_project_lite::pin_project;
pub struct CoalescePartitionsExec {
/// Input execution plan
input: Arc<dyn ExecutionPlan>,
+ /// Execution metrics
Review comment:
This is the pattern that instrumented operators now follow:
1. They have a new `metrics: ExecutionPlanMetricsSet` field
2. During `execute()` they create new `BaselineMetrics`
3. They add `elapsed_time` timer during their CPU intensive work
--
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]