pub enum BatchHandoffError {
QueryOutputSetup {
source: DataFusionError,
stats: BatchHandoffStats,
},
Upstream {
source: DataFusionError,
stats: BatchHandoffStats,
},
Downstream {
source: DeltaFunnelError,
stats: BatchHandoffStats,
},
}Expand description
Terminal failure from a query-output handoff.
Upstream errors come from the DataFusion stream. Downstream errors come from
the batch consumer, which will later be backed by arrow-tiberius.
Variants§
QueryOutputSetup
The selected DataFusion query output could not be exposed as a stream.
Fields
source: DataFusionErrorOriginal DataFusion setup error.
stats: BatchHandoffStatsHandoff counters for batches accepted before the failure.
Upstream
The upstream DataFusion stream failed before producing the next batch.
Fields
source: DataFusionErrorOriginal DataFusion error with its existing provider/query context.
stats: BatchHandoffStatsHandoff counters for batches accepted before the failure.
Downstream
The downstream consumer rejected the current batch.
Fields
source: DeltaFunnelErrorOriginal downstream writer error.
stats: BatchHandoffStatsHandoff counters for batches accepted before the failure.
Implementations§
Source§impl BatchHandoffError
impl BatchHandoffError
Sourcepub fn stats(&self) -> BatchHandoffStats
pub fn stats(&self) -> BatchHandoffStats
Returns counters for batches accepted before the terminal failure.
Trait Implementations§
Source§impl Debug for BatchHandoffError
impl Debug for BatchHandoffError
Source§impl Display for BatchHandoffError
impl Display for BatchHandoffError
Source§impl Error for BatchHandoffError
impl Error for BatchHandoffError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl ErrorCompat for BatchHandoffError
impl ErrorCompat for BatchHandoffError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Error::source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for BatchHandoffError
impl !UnwindSafe for BatchHandoffError
impl Freeze for BatchHandoffError
impl Send for BatchHandoffError
impl Sync for BatchHandoffError
impl Unpin for BatchHandoffError
impl UnsafeUnpin for BatchHandoffError
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
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> 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