pub enum FileConcatReason {
LegacyVersion,
VersionMismatch {
input_index: usize,
actual: ConcreteFileVersion,
expected: ConcreteFileVersion,
},
SchemaMismatch {
input_index: usize,
},
ColumnLayoutMismatch {
input_index: usize,
column_index: Option<usize>,
},
ColumnEncodingMismatch {
input_index: usize,
column_index: usize,
},
ColumnBuffers {
input_index: usize,
column_index: usize,
count: usize,
},
ExtraGlobalBuffers {
input_index: usize,
count: usize,
},
BlobColumns,
}Expand description
A compatibility reason that requires a caller-controlled decode/re-encode fallback.
Variants§
LegacyVersion
Lance v1 does not support encoded-file concatenation.
VersionMismatch
An input uses a different exact grammar than the target.
Fields
§
actual: ConcreteFileVersionVersion found in the file footer.
§
expected: ConcreteFileVersionVersion requested by the target.
SchemaMismatch
An input’s persisted schema differs from the target schema.
ColumnLayoutMismatch
Inputs do not describe the same physical columns.
Fields
ColumnEncodingMismatch
A column-level encoding cannot safely combine its buffers.
ColumnBuffers
A column uses file-level buffers whose page references cannot be relocated.
Fields
ExtraGlobalBuffers
A file contains global buffers whose relocation semantics are not defined.
Fields
BlobColumns
The schema contains offsets into external blob storage.
Trait Implementations§
Source§impl Clone for FileConcatReason
impl Clone for FileConcatReason
Source§fn clone(&self) -> FileConcatReason
fn clone(&self) -> FileConcatReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileConcatReason
impl Debug for FileConcatReason
Source§impl Display for FileConcatReason
impl Display for FileConcatReason
impl Eq for FileConcatReason
Source§impl PartialEq for FileConcatReason
impl PartialEq for FileConcatReason
impl StructuralPartialEq for FileConcatReason
Auto Trait Implementations§
impl Freeze for FileConcatReason
impl RefUnwindSafe for FileConcatReason
impl Send for FileConcatReason
impl Sync for FileConcatReason
impl Unpin for FileConcatReason
impl UnsafeUnpin for FileConcatReason
impl UnwindSafe for FileConcatReason
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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