Skip to content

Commit

Permalink
Expose metrics from FileSinkExec impl of ExecutionPlan
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkharderdev authored and Dandandan committed Nov 9, 2023
1 parent 2e38489 commit 7570f34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions datafusion/physical-plan/src/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ impl ExecutionPlan for FileSinkExec {
stream,
)))
}

/// Returns the metrics of the underlying [DataSink]
fn metrics(&self) -> Option<MetricsSet> {
self.sink.metrics()
}
}

/// Create a output record batch with a count
Expand Down

0 comments on commit 7570f34

Please sign in to comment.