pub enum SourceReadFact {
Show 14 variants
ChunkPlanned {
row_groups: u64,
},
ChunkAttempted,
ChunkCommitted {
chunk_count: u64,
row_groups: u64,
},
ChunkRetried,
PrefetchStarted,
PrefetchCompleted,
PrefetchSkipped,
PrefetchAbandoned,
QueueWait(Duration),
InputBatch {
rows: u64,
},
ParquetSource {
files: u64,
known_bytes: u64,
selected_row_groups: u64,
read_columns: u64,
},
MetadataLoadTime(Duration),
ParquetReadTime(Duration),
SourceReadTime(Duration),
}Expand description
One source-read fact, recorded once at the boundary that owns it.
Each variant has exactly one recording site. That is what keeps retries, abandoned prefetches, and parallel workers from counting the same work twice: a worker records its physical read, the scheduler records the logical commit, and neither re-reports the other’s facts.
Variants§
ChunkPlanned
A source chunk was planned.
ChunkAttempted
A source chunk read was attempted.
ChunkCommitted
Source chunks were committed as logical output.
ChunkRetried
A source chunk read will be retried.
PrefetchStarted
A source-read prefetch was started.
PrefetchCompleted
A source-read prefetch completed.
PrefetchSkipped
A source-read prefetch was skipped.
PrefetchAbandoned
A source-read prefetch was abandoned before its output was consumed.
QueueWait(Duration)
Time one read spent between enqueue and a worker starting it.
InputBatch
One input batch reached execution.
ParquetSource
Parquet source work, as explicit increments. Recording sites add different subsets of these; a re-read that only learns its row-group count adds no file. Each field carries only what its recording site adds.
MetadataLoadTime(Duration)
Time spent loading source metadata.
ParquetReadTime(Duration)
Time spent inside the Parquet read call.
SourceReadTime(Duration)
Time spent in source-read orchestration around the Parquet call.
Trait Implementations§
Source§impl Clone for SourceReadFact
impl Clone for SourceReadFact
Source§impl Debug for SourceReadFact
impl Debug for SourceReadFact
impl Eq for SourceReadFact
Source§impl PartialEq for SourceReadFact
impl PartialEq for SourceReadFact
impl StructuralPartialEq for SourceReadFact
Auto Trait Implementations§
impl Freeze for SourceReadFact
impl RefUnwindSafe for SourceReadFact
impl Send for SourceReadFact
impl Sync for SourceReadFact
impl Unpin for SourceReadFact
impl UnsafeUnpin for SourceReadFact
impl UnwindSafe for SourceReadFact
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> ⓘ
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> ⓘ
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