pub(crate) struct GroupByMetrics {
pub(crate) time_calculating_group_ids: Time,
pub(crate) aggregate_arguments_time: Time,
pub(crate) aggregation_time: Time,
pub(crate) emitting_time: Time,
}Fields§
§time_calculating_group_ids: TimeTime spent calculating the group IDs from the evaluated grouping columns.
aggregate_arguments_time: TimeTime spent evaluating the inputs to the aggregate functions.
aggregation_time: TimeTime spent evaluating the aggregate expressions themselves
(e.g. summing all elements and counting number of elements for avg aggregate).
emitting_time: TimeTime spent emitting the final results and constructing the record batch which includes finalizing the grouping expressions (e.g. emit from the hash table in case of hash aggregation) and the accumulators
Implementations§
Source§impl GroupByMetrics
impl GroupByMetrics
pub(crate) fn new(metrics: &ExecutionPlanMetricsSet, partition: usize) -> Self
Auto Trait Implementations§
impl Freeze for GroupByMetrics
impl RefUnwindSafe for GroupByMetrics
impl Send for GroupByMetrics
impl Sync for GroupByMetrics
impl Unpin for GroupByMetrics
impl UnwindSafe for GroupByMetrics
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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