Skip to main content

SourceReadRuntimeMetrics

Struct SourceReadRuntimeMetrics 

Source
pub struct SourceReadRuntimeMetrics {
Show 29 fields pub query_id: Option<QueryId>, pub source_node_id: String, pub read_kind: String, pub read_strategy: String, pub parquet_read_evidence: SourceReadParquetEvidenceMetrics, pub batch_index: u64, pub chunk_count: u64, pub first_chunk_index: u64, pub last_chunk_index: u64, pub first_file_index: u64, pub last_file_index: u64, pub file_count: u64, pub row_group_count: u64, pub read_columns_per_file: u64, pub read_columns_total: u64, pub known_file_bytes: u64, pub estimated_source_read_bytes: u64, pub known_row_group_bytes: u64, pub known_projected_compressed_bytes: u64, pub known_projected_uncompressed_bytes: u64, pub known_pure_filter_compressed_bytes: u64, pub known_pure_filter_uncompressed_bytes: u64, pub output_rows: u64, pub reader_predicate: bool, pub reader_dynamic_filter_count: u64, pub source_batching_reason: String, pub source_chunk_planning_mode: String, pub source_chunk_planning_reason: String, pub elapsed: Duration,
}
Expand description

Runtime evidence for one local-Parquet source read.

Fields§

§query_id: Option<QueryId>

Query-wide diagnostic correlation id, when assigned.

§source_node_id: String

Native source node id.

§read_kind: String

Source read shape, for example chunk or chunk_batch.

§read_strategy: String

Parquet read strategy used by the chunk or batch.

§parquet_read_evidence: SourceReadParquetEvidenceMetrics

Lower-layer Parquet read evidence reported by cudf.

§batch_index: u64

Batch index within the source stream, or the chunk index for singleton reads.

§chunk_count: u64

Number of source chunks represented by this read.

§first_chunk_index: u64

First source chunk index represented by this read.

§last_chunk_index: u64

Last source chunk index represented by this read.

§first_file_index: u64

First source file index represented by this read.

§last_file_index: u64

Last source file index represented by this read.

§file_count: u64

Number of distinct files represented by this read.

§row_group_count: u64

Selected row groups represented by this read.

§read_columns_per_file: u64

Number of physical read columns per represented file.

§read_columns_total: u64

Sum of physical read-column selections across represented files.

§known_file_bytes: u64

Sum of known file bytes for represented files, when available.

§estimated_source_read_bytes: u64

Best available source-read byte estimate for represented chunks.

§known_row_group_bytes: u64

Sum of known selected row-group bytes, when available.

§known_projected_compressed_bytes: u64

Sum of known projected compressed bytes, when available.

§known_projected_uncompressed_bytes: u64

Sum of known projected uncompressed bytes, when available.

§known_pure_filter_compressed_bytes: u64

Sum of known pure-filter compressed bytes, when available.

§known_pure_filter_uncompressed_bytes: u64

Sum of known pure-filter uncompressed bytes, when available.

§output_rows: u64

Number of output rows materialized by the read after reader predicates.

§reader_predicate: bool

Whether this read carried a source reader predicate.

§reader_dynamic_filter_count: u64

Number of dynamic-filter reader predicate routes attached to this read.

§source_batching_reason: String

Stable diagnostic reason for the source chunk batching decision.

§source_chunk_planning_mode: String

Source chunk planning mode requested for this source read.

§source_chunk_planning_reason: String

Stable diagnostic reason for the source chunk row-group and byte target.

§elapsed: Duration

Elapsed time spent in the source read.

Implementations§

Source§

impl SourceReadRuntimeMetrics

Source

pub fn to_json(&self) -> Value

Serializes this source-read runtime row as named JSON.

Source§

impl SourceReadRuntimeMetrics

Source

pub fn to_stable_kv_row(&self) -> String

Serializes this row as stable comma-separated key/value pairs.

Trait Implementations§

Source§

impl Clone for SourceReadRuntimeMetrics

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SourceReadRuntimeMetrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SourceReadRuntimeMetrics

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for SourceReadRuntimeMetrics

Source§

impl PartialEq for SourceReadRuntimeMetrics

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SourceReadRuntimeMetrics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more