pub enum Error {
Core(Error),
Arrow(ArrowError),
InvalidFill {
expected: DataType,
actual: DataType,
len: usize,
},
WrongLength {
expected: usize,
actual: usize,
},
KeySchemaMismatch,
UnsupportedType(DataType),
UnexpectedNulls,
MissingValues,
NoInputs,
InKey {
position: usize,
source: Box<Error>,
},
}Expand description
Errors from Arrow-backed sequences.
Variants§
Core(Error)
An error from the core crate, such as invalid runs or unequal lengths.
Arrow(ArrowError)
An error from an Arrow kernel, such as mismatched types or overflow.
InvalidFill
A fill value was not a single value of the right type.
WrongLength
An operation returned a different number of values than it was given.
KeySchemaMismatch
Two batches have keys with different column names or types.
UnsupportedType(DataType)
The values have a type this operation does not support.
UnexpectedNulls
The values contain nulls where they are not allowed.
MissingValues
An aggregation needs values but none were given.
NoInputs
An operation needs at least one input but was given none.
InKey
An operation failed for the key at position in the output.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ArrowError> for Error
impl From<ArrowError> for Error
Source§fn from(e: ArrowError) -> Self
fn from(e: ArrowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
Converts
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> ⓘ
Converts
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