Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions datafusion/physical-plan/src/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,6 @@ impl DataSinkExec {
&self.sort_order
}

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

fn create_schema(
input: &Arc<dyn ExecutionPlan>,
schema: SchemaRef,
Expand Down Expand Up @@ -289,6 +284,11 @@ impl ExecutionPlan for DataSinkExec {
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