pub enum DeltaFunnelError {
Show 33 variants
Config {
message: String,
},
InvalidSourceName {
name: String,
reason: &'static str,
},
DuplicateSourceName {
name: String,
},
InvalidSourceUri {
reason: &'static str,
},
DeltaSourceEngine {
reason: &'static str,
},
DeltaSnapshotLoad {
reason: String,
},
DeltaProtocolCompatibility {
source_name: String,
table_uri: String,
snapshot_version: u64,
reason: String,
},
DeltaSourceSchema {
source_name: String,
table_uri: String,
reason: String,
},
DataFusionRegistration {
source_name: String,
table_uri: String,
reason: String,
},
SqlTable {
phase: SqlTablePhase,
message: String,
},
DeltaScanProjection {
source_name: String,
table_uri: String,
reason: String,
},
DeltaScanFilter {
source_name: String,
table_uri: String,
reason: String,
},
DeltaScanConstruction {
source_name: String,
table_uri: String,
source: Box<Error>,
},
DeltaScanMetadataExpansion {
source_name: String,
table_uri: String,
snapshot_version: u64,
source: Box<Error>,
},
DeltaScanFileTaskPlanning {
source_name: String,
table_uri: String,
snapshot_version: u64,
path: String,
reason: String,
},
DeltaScanFileTaskPartitionPlanning {
source_name: String,
table_uri: String,
snapshot_version: u64,
reason: String,
},
DeltaScanFileRead {
source_name: String,
table_uri: String,
snapshot_version: u64,
path: String,
phase: DeltaScanFileReadPhase,
source: Box<Error>,
},
DeltaScanDeletionVector {
source_name: String,
table_uri: String,
snapshot_version: u64,
path: String,
phase: DeltaScanDeletionVectorPhase,
source: Box<Error>,
},
DependencyCompatibility {
message: String,
},
BatchPipeline {
phase: BatchPipelinePhase,
option: &'static str,
message: String,
},
MssqlTargetConfig {
option: &'static str,
message: String,
},
MissingMssqlConnection {
output_name: String,
},
InvalidMssqlOutputIdentity {
output_name: String,
reason: &'static str,
},
DuplicateMssqlOutputField {
output_name: String,
field_name: String,
first_index: usize,
duplicate_index: usize,
},
MssqlSchemaPlanning {
output_name: String,
diagnostics: DiagnosticSet,
},
MssqlSchemaPlanningFailed {
output_name: String,
source: Error,
},
MssqlDdlTargetIdentifier {
output_name: String,
source: Error,
},
MssqlDdlPlanning {
output_name: String,
message: String,
},
MssqlLifecyclePlanning {
output_name: String,
message: String,
},
MssqlWrite {
source: Error,
},
MssqlWritePhase {
context: Box<MssqlWriteFailureContext>,
message: String,
},
MssqlBatchSchemaValidation {
context: Box<MssqlWriteFailureContext>,
source: Error,
},
MssqlWorkflowPlanning {
message: String,
},
}Expand description
Error type used by DeltaFunnel APIs.
Variants§
Config
Caller configuration is invalid.
InvalidSourceName
A Delta source name is not valid for registration.
Fields
DuplicateSourceName
Two configured Delta sources use the same registration name.
InvalidSourceUri
A Delta source URI is not valid for snapshot loading.
DeltaSourceEngine
A Delta source engine could not be constructed.
DeltaSnapshotLoad
A Delta snapshot could not be loaded.
DeltaProtocolCompatibility
A Delta source requires an unsupported reader protocol.
Fields
DeltaSourceSchema
A Delta source schema could not be exposed to the query engine.
Fields
DataFusionRegistration
A Delta source could not be registered with DataFusion.
Fields
SqlTable
Lazy SQL-derived table planning or alias registration failed.
Fields
phase: SqlTablePhaseSession SQL table phase that failed.
DeltaScanProjection
A Delta provider scan projection could not be planned.
Fields
DeltaScanFilter
A pushed Delta provider scan filter could not be planned safely.
Fields
DeltaScanConstruction
A Delta kernel scan could not be constructed.
Fields
DeltaScanMetadataExpansion
Delta scan metadata could not be expanded from kernel scan planning.
Fields
DeltaScanFileTaskPlanning
Delta scan metadata could not be converted into provider file tasks.
Fields
DeltaScanFileTaskPartitionPlanning
Delta scan file tasks could not be grouped into provider scan partitions.
Fields
DeltaScanFileRead
A Delta scan data file could not be read through the kernel adapter.
Fields
phase: DeltaScanFileReadPhaseRead phase associated with the failure.
DeltaScanDeletionVector
A Delta scan deletion vector could not be loaded or consumed safely.
Fields
phase: DeltaScanDeletionVectorPhaseDeletion-vector phase associated with the failure.
DependencyCompatibility
A required dependency contract is unavailable or incompatible.
BatchPipeline
Batch pipeline setup or configuration is invalid.
Fields
phase: BatchPipelinePhaseBatch pipeline phase associated with the failure.
MssqlTargetConfig
SQL Server target configuration is invalid.
Fields
MissingMssqlConnection
A SQL Server target could not resolve a connection.
InvalidMssqlOutputIdentity
A selected output identity is missing or invalid for SQL Server schema planning.
Fields
DuplicateMssqlOutputField
A selected output has duplicate field names before SQL Server planning.
Fields
MssqlSchemaPlanning
SQL Server schema planning failed with structured arrow-tiberius diagnostics.
Fields
diagnostics: DiagnosticSetStructured diagnostics returned by arrow-tiberius.
MssqlSchemaPlanningFailed
SQL Server schema planning failed before producing diagnostics.
Fields
MssqlDdlTargetIdentifier
SQL Server DDL planning failed because a target identifier was invalid.
Fields
MssqlDdlPlanning
SQL Server DDL planning failed for a DeltaFunnel-owned lifecycle reason.
Fields
MssqlLifecyclePlanning
SQL Server lifecycle planning failed for a DeltaFunnel-owned reason.
Fields
MssqlWrite
SQL Server batch writing failed.
MssqlWritePhase
SQL Server write execution failed during a known phase.
Fields
context: Box<MssqlWriteFailureContext>Structured, redacted failure context.
MssqlBatchSchemaValidation
SQL Server output batch schema validation failed.
Fields
context: Box<MssqlWriteFailureContext>Structured, redacted failure context.
MssqlWorkflowPlanning
SQL Server multi-output workflow planning failed before output writes.
Trait Implementations§
Source§impl Debug for DeltaFunnelError
impl Debug for DeltaFunnelError
Source§impl Display for DeltaFunnelError
impl Display for DeltaFunnelError
Source§impl Error for DeltaFunnelError
impl Error for DeltaFunnelError
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 DeltaFunnelError
impl ErrorCompat for DeltaFunnelError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Error::source. Read moreSource§impl From<DeltaFunnelError> for DataFusionError
impl From<DeltaFunnelError> for DataFusionError
Source§fn from(error: DeltaFunnelError) -> Self
fn from(error: DeltaFunnelError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for DeltaFunnelError
impl !UnwindSafe for DeltaFunnelError
impl Freeze for DeltaFunnelError
impl Send for DeltaFunnelError
impl Sync for DeltaFunnelError
impl Unpin for DeltaFunnelError
impl UnsafeUnpin for DeltaFunnelError
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
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