Skip to content

Commit

Permalink
Minor: make field names match metric name (#11478)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jul 29, 2024
1 parent 823a007 commit 75ced38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datafusion/physical-plan/src/repartition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ struct RepartitionMetrics {
/// Time in nanos to execute child operator and fetch batches
fetch_time: metrics::Time,
/// Time in nanos to perform repartitioning
repartition_time: metrics::Time,
repart_time: metrics::Time,
/// Time in nanos for sending resulting batches to channels.
///
/// One metric per output partition.
Expand Down Expand Up @@ -449,7 +449,7 @@ impl RepartitionMetrics {

Self {
fetch_time,
repartition_time: repart_time,
repart_time,
send_time,
}
}
Expand Down Expand Up @@ -775,7 +775,7 @@ impl RepartitionExec {
context: Arc<TaskContext>,
) -> Result<()> {
let mut partitioner =
BatchPartitioner::try_new(partitioning, metrics.repartition_time.clone())?;
BatchPartitioner::try_new(partitioning, metrics.repart_time.clone())?;

// execute the child operator
let timer = metrics.fetch_time.timer();
Expand Down

0 comments on commit 75ced38

Please sign in to comment.