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(String), NoMetadata, NoSchema, LoadPartitions, SchemaMismatch { msg: String, }, PartitionError { partition: String, }, InvalidPartitionFilter { partition_filter: String, }, InvalidVacuumRetentionPeriod, Generic(String),
}
Expand description

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(String)

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.

SchemaMismatch

Error returned when writes are attempted with data that doesn’t match the schema of the table

Show fields

Fields of SchemaMismatch

msg: String

Information about the mismatch

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 Vacuum retention period is below the safe threshold

Generic(String)

Generic Delta Table error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

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

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

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.