Enum deltalake::DeltaTableError[][src]

pub enum DeltaTableError {
Show variants ApplyLog { source: ApplyLogError, }, LoadCheckpoint { source: LoadCheckpointError, }, StorageError { source: StorageError, }, ParquetError { source: ParquetError, }, ArrowError { source: ArrowError, }, UriError { source: UriError, }, InvalidJson { source: Error, }, InvalidVersion(DeltaDataTypeVersion), MissingDataFile { source: Error, path: String, }, InvalidDateTimeString { source: ParseError, }, InvalidAction { source: ActionError, }, NotATable, NoMetadata, NoSchema, LoadPartitions, PartitionError { partition: String, }, InvalidPartitionFilter { partition_filter: String, }, InvalidVacuumRetentionPeriod,
}

Delta Table specific error

Variants

ApplyLog

Error returned when applying transaction log failed.

Show fields

Fields of ApplyLog

source: ApplyLogError

Apply error details returned when applying transaction log failed.

LoadCheckpoint

Error returned when loading checkpoint failed.

Show fields

Fields of LoadCheckpoint

source: LoadCheckpointError

Load checkpoint error details returned when loading checkpoint failed.

StorageError

Error returned when reading the delta log object failed.

Show fields

Fields of StorageError

source: StorageError

Storage error details when reading the delta log object failed.

ParquetError

Error returned when reading the checkpoint failed.

Show fields

Fields of ParquetError

source: ParquetError

Parquet error details returned when reading the checkpoint failed.

ArrowError

Error returned when converting the schema in Arrow format failed.

Show fields

Fields of ArrowError

source: ArrowError

Arrow error details returned when converting the schema in Arrow format failed

UriError

Error returned when the table has an invalid path.

Show fields

Fields of UriError

source: UriError

Uri error details returned when the table has an invalid path.

InvalidJson

Error returned when the log record has an invalid JSON.

Show fields

Fields of InvalidJson

source: Error

JSON error details returned when the log record has an invalid JSON.

InvalidVersion(DeltaDataTypeVersion)

Error returned when the DeltaTable has an invalid version.

MissingDataFile

Error returned when the DeltaTable has no data files.

Show fields

Fields of MissingDataFile

source: Error

Source error details returned when the DeltaTable has no data files.

path: String

The Path used of the DeltaTable

InvalidDateTimeString

Error returned when the datetime string is invalid for a conversion.

Show fields

Fields of InvalidDateTimeString

source: ParseError

Parse error details returned of the datetime string parse error.

InvalidAction

Error returned when the action record is invalid in log.

Show fields

Fields of InvalidAction

source: ActionError

Action error details returned of the invalid action.

NotATable

Error returned when it is not a DeltaTable.

NoMetadata

Error returned when no metadata was found in the DeltaTable.

NoSchema

Error returned when no schema was found in the DeltaTable.

LoadPartitions

Error returned when no partition was found in the DeltaTable.

PartitionError

Error returned when a partition is not formatted as a Hive Partition.

Show fields

Fields of PartitionError

partition: String

The malformed partition used.

InvalidPartitionFilter

Error returned when a invalid partition filter was found.

Show fields

Fields of InvalidPartitionFilter

partition_filter: String

The invalid partition filter used.

InvalidVacuumRetentionPeriod

Error returned when Vacuume retention period is below the safe threshold

Trait Implementations

impl Debug for DeltaTableError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for DeltaTableError[src]

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for DeltaTableError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

impl From<ActionError> for DeltaTableError[src]

fn from(source: ActionError) -> Self[src]

Performs the conversion.

impl From<ApplyLogError> for DeltaTableError[src]

fn from(source: ApplyLogError) -> Self[src]

Performs the conversion.

impl From<ArrowError> for DeltaTableError[src]

fn from(source: ArrowError) -> Self[src]

Performs the conversion.

impl From<DeltaTableError> for DeltaTransactionError[src]

fn from(source: DeltaTableError) -> Self[src]

Performs the conversion.

impl From<DeltaTableError> for TransactionCommitAttemptError[src]

fn from(source: DeltaTableError) -> Self[src]

Performs the conversion.

impl From<Error> for DeltaTableError[src]

fn from(source: Error) -> Self[src]

Performs the conversion.

impl From<LoadCheckpointError> for DeltaTableError[src]

fn from(source: LoadCheckpointError) -> Self[src]

Performs the conversion.

impl From<ParquetError> for DeltaTableError[src]

fn from(source: ParquetError) -> Self[src]

Performs the conversion.

impl From<ParseError> for DeltaTableError[src]

fn from(source: ParseError) -> Self[src]

Performs the conversion.

impl From<StorageError> for DeltaTableError[src]

fn from(source: StorageError) -> Self[src]

Performs the conversion.

impl From<UriError> for DeltaTableError[src]

fn from(source: UriError) -> Self[src]

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V