Enum datafusion::error::DataFusionError[][src]

pub enum DataFusionError {
    ArrowError(ArrowError),
    ParquetError(ParquetError),
    IoError(Error),
    SQL(ParserError),
    NotImplemented(String),
    Internal(String),
    Plan(String),
    Execution(String),
}
Expand description

DataFusion error

Variants

ArrowError

Error returned by arrow.

Tuple Fields of ArrowError

0: ArrowError
ParquetError

Wraps an error from the Parquet crate

Tuple Fields of ParquetError

0: ParquetError
IoError

Error associated to I/O operations and associated traits.

Tuple Fields of IoError

0: Error
SQL

Error returned when SQL is syntactically incorrect.

Tuple Fields of SQL

0: ParserError
NotImplemented

Error returned on a branch that we know it is possible but to which we still have no implementation for. Often, these errors are tracked in our issue tracker.

Tuple Fields of NotImplemented

0: String
Internal

Error returned as a consequence of an error in DataFusion. This error should not happen in normal usage of DataFusion.

Tuple Fields of Internal

0: String
Plan

This error happens whenever a plan is not valid. Examples include impossible casts, schema inference not possible and non-unique column names.

Tuple Fields of Plan

0: String
Execution

Error returned during execution of the query. Examples include files not found, errors in parsing certain types.

Tuple Fields of Execution

0: String

Implementations

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.

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.

Should always be Self

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.