#[non_exhaustive]pub struct TaskCompletionExtras {
pub operator_metrics: Option<Vec<OperatorMetricsSet>>,
pub runtime_stats: Vec<RuntimeStatsReport>,
pub window_state: Vec<WindowStateReport>,
pub column_stats: Vec<TaskColumnStats>,
}Expand description
Side-channel data harvested from a task’s executed plan, attached to the
TaskStatus reported to the scheduler on success.
Marked #[non_exhaustive] so future additions (e.g. tracing IDs, further
runtime reports) are non-breaking for external callers that construct via
TaskCompletionExtras { operator_metrics: …, ..Default::default() }.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operator_metrics: Option<Vec<OperatorMetricsSet>>Per-operator metrics collected from the executed plan.
runtime_stats: Vec<RuntimeStatsReport>Runtime-stats reports harvested from RuntimeStatsExec taps in the plan.
window_state: Vec<WindowStateReport>Finalized window-aggregate state captured by an ever-expanding-frame
window, already stamped with the global partition each entry belongs
to by the stage’s ShuffleWriterExec.
column_stats: Vec<TaskColumnStats>Per-column statistics folded across this task’s shuffle output. Empty when the executed plan collects none (e.g. non-sort shuffle paths).
Trait Implementations§
Source§impl Clone for TaskCompletionExtras
impl Clone for TaskCompletionExtras
Source§impl Debug for TaskCompletionExtras
impl Debug for TaskCompletionExtras
Auto Trait Implementations§
impl Freeze for TaskCompletionExtras
impl RefUnwindSafe for TaskCompletionExtras
impl Send for TaskCompletionExtras
impl Sync for TaskCompletionExtras
impl Unpin for TaskCompletionExtras
impl UnsafeUnpin for TaskCompletionExtras
impl UnwindSafe for TaskCompletionExtras
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request