pub struct MergeMetrics {Show 13 fields
pub num_source_rows: usize,
pub num_target_rows_inserted: usize,
pub num_target_rows_updated: usize,
pub num_target_rows_deleted: usize,
pub num_target_rows_copied: usize,
pub num_output_rows: usize,
pub num_target_files_scanned: usize,
pub num_target_files_skipped_during_scan: usize,
pub num_target_files_added: usize,
pub num_target_files_removed: usize,
pub execution_time_ms: u64,
pub scan_time_ms: u64,
pub rewrite_time_ms: u64,
}
Expand description
Metrics for the Merge Operation
Fields§
§num_source_rows: usize
Number of rows in the source data
num_target_rows_inserted: usize
Number of rows inserted into the target table
num_target_rows_updated: usize
Number of rows updated in the target table
num_target_rows_deleted: usize
Number of rows deleted in the target table
num_target_rows_copied: usize
Number of target rows copied
num_output_rows: usize
Total number of rows written out
num_target_files_scanned: usize
Amount of files considered during table scan
num_target_files_skipped_during_scan: usize
Amount of files not considered (pruned) during table scan
num_target_files_added: usize
Number of files added to the sink(target)
num_target_files_removed: usize
Number of files removed from the sink(target)
execution_time_ms: u64
Time taken to execute the entire operation
scan_time_ms: u64
Time taken to scan the files for matches
rewrite_time_ms: u64
Time taken to rewrite the matched files
Trait Implementations§
Source§impl Debug for MergeMetrics
impl Debug for MergeMetrics
Source§impl Default for MergeMetrics
impl Default for MergeMetrics
Source§fn default() -> MergeMetrics
fn default() -> MergeMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MergeMetrics
impl RefUnwindSafe for MergeMetrics
impl Send for MergeMetrics
impl Sync for MergeMetrics
impl Unpin for MergeMetrics
impl UnwindSafe for MergeMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more