pub enum EntityRewriteError {
InvalidInput {
reason: String,
},
InvalidOutput {
reason: String,
},
SegmentInspection {
source: SegmentError,
},
CoverageInspection {
source: SegmentCoverageError,
},
CoverageSidecar {
source: CoverageError,
},
CoverageSerialization {
source: EntityCoverageSerdeError,
},
Storage {
source: StorageError,
},
Parquet {
path: String,
source: ParquetError,
backtrace: Backtrace,
},
Arrow {
path: String,
source: ArrowError,
backtrace: Backtrace,
},
Cleanup {
source: Box<EntityRewriteError>,
cleanup_errors: Vec<String>,
},
}Expand description
Failure while staging a mixed segment rewrite.
Variants§
InvalidInput
The committed source or table metadata violates the rewrite contract.
InvalidOutput
A completed staged output violates a rewrite invariant.
SegmentInspection
Segment metadata or schema inspection failed.
Fields
§
source: SegmentErrorExisting Parquet inspection failure.
CoverageInspection
Exact entity coverage inspection failed.
Fields
§
source: SegmentCoverageErrorExisting entity coverage inspection failure.
CoverageSidecar
Coverage sidecar access failed.
Fields
§
source: CoverageErrorExisting coverage sidecar failure.
CoverageSerialization
Entity coverage serialization failed.
Fields
§
source: EntityCoverageSerdeErrorExisting coverage codec failure.
Storage
Storage access failed.
Fields
§
source: StorageErrorExisting storage failure.
Parquet
Parquet streaming or writing failed.
Fields
§
source: ParquetErrorExisting Parquet failure.
Arrow
Filtering a complete record batch failed.
Fields
§
source: ArrowErrorExisting Arrow failure.
Cleanup
Rewrite failed and one or more private objects could not be removed.
Trait Implementations§
Source§impl Debug for EntityRewriteError
impl Debug for EntityRewriteError
Source§impl Display for EntityRewriteError
impl Display for EntityRewriteError
Source§impl Error for EntityRewriteError
impl Error for EntityRewriteError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl ErrorCompat for EntityRewriteError
impl ErrorCompat for EntityRewriteError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreAuto Trait Implementations§
impl !Freeze for EntityRewriteError
impl !RefUnwindSafe for EntityRewriteError
impl !UnwindSafe for EntityRewriteError
impl Send for EntityRewriteError
impl Sync for EntityRewriteError
impl Unpin for EntityRewriteError
impl UnsafeUnpin for EntityRewriteError
Blanket Implementations§
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)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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