#[non_exhaustive]pub enum EntityRewriteError {
Show 15 variants
InvalidInput {
reason: String,
backtrace: Backtrace,
},
InvalidOutput {
reason: String,
backtrace: Backtrace,
},
InvalidPath {
description: &'static str,
path: String,
source: Box<StorageError>,
},
IndexSpecValidation {
source: IndexSpecError,
backtrace: Backtrace,
},
TableSchemaValidation {
source: Box<SchemaCompatibilityError>,
},
SegmentSchemaValidation {
path: String,
source: Box<SchemaCompatibilityError>,
},
SegmentMetadataValidation {
source: Box<SegmentMetaError>,
},
SegmentInspection {
source: SegmentError,
},
CoverageInspection {
source: SegmentCoverageError,
},
CoverageSidecar {
source: CoverageSidecarError,
},
CoverageSerialization {
source: CoverageCodecError,
},
Storage {
source: StorageError,
},
Parquet {
path: String,
source: ParquetError,
backtrace: Backtrace,
},
Arrow {
path: String,
source: ArrowError,
backtrace: Backtrace,
},
Cleanup {
source: Box<EntityRewriteError>,
cleanup_errors: Vec<StorageError>,
},
}Expand description
Failure while staging a mixed segment rewrite.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidInput
The committed source or table metadata violates the rewrite contract.
Fields
InvalidOutput
A completed staged output violates a rewrite invariant.
Fields
InvalidPath
A source or sidecar path failed table-relative storage validation.
Fields
source: Box<StorageError>Structured storage path validation failure.
IndexSpecValidation
The rewrite received an invalid ordered-index specification.
Fields
source: IndexSpecErrorComplete ordered-index validation failure.
TableSchemaValidation
The table schema is incompatible with its ordered-index specification.
Fields
source: Box<SchemaCompatibilityError>Complete schema compatibility failure.
SegmentSchemaValidation
A source or replacement segment schema is incompatible with the table schema.
Fields
source: Box<SchemaCompatibilityError>Complete schema compatibility failure.
SegmentMetadataValidation
Persisted source segment metadata violates the registered ordered-index domain.
Fields
source: Box<SegmentMetaError>Complete segment metadata validation failure.
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: CoverageSidecarErrorExisting coverage sidecar failure.
CoverageSerialization
Entity coverage serialization failed.
Fields
source: CoverageCodecErrorExisting 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.
Fields
source: Box<EntityRewriteError>Primary rewrite failure.
cleanup_errors: Vec<StorageError>Typed cleanup failure for every private object that 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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
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,
Error::source. Read moreSource§impl From<EntityRewriteError> for OptimizeError
impl From<EntityRewriteError> for OptimizeError
Source§fn from(error: EntityRewriteError) -> Self
fn from(error: EntityRewriteError) -> Self
Auto 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)
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