Enum datafusion_common::SchemaError
source · pub enum SchemaError {
AmbiguousReference {
field: Column,
},
DuplicateQualifiedField {
qualifier: Box<TableReference>,
name: String,
},
DuplicateUnqualifiedField {
name: String,
},
FieldNotFound {
field: Box<Column>,
valid_fields: Vec<Column>,
},
}
Expand description
Schema-related errors
Variants§
AmbiguousReference
Schema contains a (possibly) qualified and unqualified field with same unqualified name
DuplicateQualifiedField
Schema contains duplicate qualified field name
DuplicateUnqualifiedField
Schema contains duplicate unqualified field name
FieldNotFound
No field with this name
Trait Implementations§
source§impl Debug for SchemaError
impl Debug for SchemaError
source§impl Display for SchemaError
impl Display for SchemaError
source§impl Error for SchemaError
impl Error for SchemaError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SchemaError
impl RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnwindSafe for SchemaError
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