pub enum ArrowConvertError {
Arrow(ArrowError),
InvalidValue(String),
}Expand description
Errors produced by the CQL → Arrow conversion.
A dedicated thiserror enum so that callers (e.g. ParquetExportError)
can wrap or delegate to this error without pulling in Parquet-specific
error types.
Variants§
Arrow(ArrowError)
Arrow array or schema construction failure.
InvalidValue(String)
A value could not be represented in the target Arrow type.
Trait Implementations§
Source§impl Debug for ArrowConvertError
impl Debug for ArrowConvertError
Source§impl Display for ArrowConvertError
impl Display for ArrowConvertError
Source§impl Error for ArrowConvertError
impl Error for ArrowConvertError
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<ArrowConvertError> for ParquetExportError
impl From<ArrowConvertError> for ParquetExportError
Source§fn from(e: ArrowConvertError) -> Self
fn from(e: ArrowConvertError) -> Self
Converts to this type from the input type.
Source§impl From<ArrowConvertError> for DeltaParquetError
impl From<ArrowConvertError> for DeltaParquetError
Source§fn from(e: ArrowConvertError) -> Self
fn from(e: ArrowConvertError) -> Self
Converts to this type from the input type.
Source§impl From<ArrowError> for ArrowConvertError
impl From<ArrowError> for ArrowConvertError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ArrowConvertError
impl !UnwindSafe for ArrowConvertError
impl Freeze for ArrowConvertError
impl Send for ArrowConvertError
impl Sync for ArrowConvertError
impl Unpin for ArrowConvertError
impl UnsafeUnpin for ArrowConvertError
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